This library contains code that extends and simplifies different operations
for C language based programs.
Revisión | d4610552c8deb1903db3aa29688f7bcea7e50724 (tree) |
---|---|
Tiempo | 2017-10-09 06:58:08 |
Autor | s.gusarov |
Commiter | s.gusarov |
test_math: Use INT functions instead of INT64 - more universal way on 32x platform.
@@ -40,13 +40,13 @@ | ||
40 | 40 | |
41 | 41 | void testCompileStandardRound(void) |
42 | 42 | { |
43 | - TEST_ASSERT_EQUAL_INT64(lround(1.5), 2); | |
44 | - TEST_ASSERT_EQUAL_INT64(lroundf(1.5f), 2); | |
45 | - TEST_ASSERT_EQUAL_INT64(lroundl(1.5), 2); | |
43 | + TEST_ASSERT_EQUAL_INT(lround(1.5), 2); | |
44 | + TEST_ASSERT_EQUAL_INT(lroundf(1.5f), 2); | |
45 | + TEST_ASSERT_EQUAL_INT(lroundl(1.5), 2); | |
46 | 46 | |
47 | - TEST_ASSERT_EQUAL_INT64(llround(1.5), 2); | |
48 | - TEST_ASSERT_EQUAL_INT64(llroundf(1.5f), 2); | |
49 | - TEST_ASSERT_EQUAL_INT64(llroundl(1.5), 2); | |
47 | + TEST_ASSERT_EQUAL_INT(llround(1.5), 2); | |
48 | + TEST_ASSERT_EQUAL_INT(llroundf(1.5f), 2); | |
49 | + TEST_ASSERT_EQUAL_INT(llroundl(1.5), 2); | |
50 | 50 | } |
51 | 51 | |
52 | 52 | void testCompileExtensionRound(void) |