diff options
Diffstat (limited to 'tests/tmath.nim')
| -rw-r--r-- | tests/tmath.nim | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/tmath.nim b/tests/tmath.nim index 63f1786..95fc086 100644 --- a/tests/tmath.nim +++ b/tests/tmath.nim @@ -1,15 +1,15 @@ -import nimterop/cimport import unittest +import nimterop/cimport type locale_t = object mingw_ldbl_type_t = object mingw_dbl_type_t = object -cDebug() -cDisableCaching() - -cAddStdDir() +static: + cDebug() + cDisableCaching() + cAddStdDir() cPlugin: import strutils @@ -21,4 +21,4 @@ cImport cSearchPath("math.h") check sin(5) == -0.9589242746631385 check abs(-5) == 5 -check sqrt(4.00) == 2.0
\ No newline at end of file +check sqrt(4.00) == 2.0 |
