#include "testing/base/public/gmock.h" | |
#include "testing/base/public/gunit.h" | |
#include "third_party/open64_libacml_mv/libacml.h" | |
namespace { | |
using ::testing::Eq; | |
TEST(LibacmlPortabilityTest, Trivial) { | |
EXPECT_THAT(acml_exp(0), Eq(1)); | |
EXPECT_THAT(acml_expf(0), Eq(1)); | |
EXPECT_THAT(acml_pow(2, 2), Eq(4)); | |
EXPECT_THAT(acml_log(1), Eq(0)); | |
} | |
} // namespace |