• R/O
  • SSH

libctools: Commit

This library contains code that extends and simplifies different operations
for C language based programs.


Commit MetaInfo

Revisiónd4610552c8deb1903db3aa29688f7bcea7e50724 (tree)
Tiempo2017-10-09 06:58:08
Autors.gusarov
Commiters.gusarov

Log Message

test_math: Use INT functions instead of INT64 - more universal way on 32x platform.

Cambiar Resumen

Diferencia incremental

diff -r cd66ed46a010 -r d4610552c8de tests/src/std/test_math.c
--- a/tests/src/std/test_math.c Mon Oct 09 00:56:27 2017 +0300
+++ b/tests/src/std/test_math.c Mon Oct 09 00:58:08 2017 +0300
@@ -40,13 +40,13 @@
4040
4141 void testCompileStandardRound(void)
4242 {
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);
4646
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);
5050 }
5151
5252 void testCompileExtensionRound(void)
Show on old repository browser