Skip to content

Commit 0fb39f2

Browse files
committed
Add tests for log.
1 parent f696707 commit 0fb39f2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/testLog.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
**************************************************************************************************/
2222

2323
#include "colors.hpp"
24+
#include "fn/basicArithm.hpp"
2425
#include "output.hpp"
2526
#include "testing.hpp"
2627
#include "util.hpp"
@@ -29,4 +30,10 @@
2930
#include <iostream>
3031

3132
TEST_START()
33+
using namespace steppable::__internals::arithmetic;
34+
35+
SECTION(Test natural logarithm)
36+
_.assertIsEqual(ln("5.3", 4), "1.6675");
37+
SECTION_END()
38+
3239
TEST_END()

0 commit comments

Comments
 (0)