Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kthohr committed Jan 1, 2022
1 parent df99d21 commit 61f77cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/exp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ int main()
GCEM_TEST_COMPARE_VALS(gcem::exp,std::exp, -40.0L);
GCEM_TEST_COMPARE_VALS(gcem::exp,std::exp, -4.0L);
GCEM_TEST_COMPARE_VALS(gcem::exp,std::exp, 0.0001L);
GCEM_TEST_COMPARE_VALS(gcem::exp,std::exp, 1.0L);
GCEM_TEST_COMPARE_VALS(gcem::exp,std::exp, 1.75L);
GCEM_TEST_COMPARE_VALS(gcem::exp,std::exp, 1.9991L);
GCEM_TEST_COMPARE_VALS(gcem::exp,std::exp, 2.1L);
Expand Down
1 change: 1 addition & 0 deletions tests/log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ int main()

GCEM_TEST_COMPARE_VALS(gcem::log,std::log, 0.5L);
GCEM_TEST_COMPARE_VALS(gcem::log,std::log, 0.00199900000000000208L);
GCEM_TEST_COMPARE_VALS(gcem::log,std::log, 1.0L);
GCEM_TEST_COMPARE_VALS(gcem::log,std::log, 1.5L);
GCEM_TEST_COMPARE_VALS(gcem::log,std::log, 41.5L);
GCEM_TEST_COMPARE_VALS(gcem::log,std::log, 0.0L);
Expand Down
1 change: 1 addition & 0 deletions tests/pow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ int main()
GCEM_TEST_COMPARE_VALS(gcem::pow,std::pow, 0.199900000000000208L, 3.5L);
GCEM_TEST_COMPARE_VALS(gcem::pow,std::pow, 0.5L, 2.0L);
GCEM_TEST_COMPARE_VALS(gcem::pow,std::pow, 1.5L, 0.99L);
GCEM_TEST_COMPARE_VALS(gcem::pow,std::pow, 2.0L, 1.0L);
GCEM_TEST_COMPARE_VALS(gcem::pow,std::pow, 41.5L, 7.0L);

// int versions
Expand Down

0 comments on commit 61f77cb

Please sign in to comment.