tests.c: use ck_assert_int_eq whenever possible

This commit is contained in:
Kosma Moczek 2014-02-28 15:20:30 +01:00
parent f7702e046c
commit 3c343f8e19

View File

@ -408,10 +408,10 @@ END_TEST
START_TEST(test_minmea_rescale)
{
ck_assert(minmea_rescale(42, 0, 3) == 0);
ck_assert(minmea_rescale(1234, 10, 1) == 123);
ck_assert(minmea_rescale(1235, 10, 1) == 124);
ck_assert(minmea_rescale(1234, 10, 1000) == 123400);
ck_assert_int_eq(minmea_rescale(42, 0, 3), 0);
ck_assert_int_eq(minmea_rescale(1234, 10, 1), 123);
ck_assert_int_eq(minmea_rescale(1235, 10, 1), 124);
ck_assert_int_eq(minmea_rescale(1234, 10, 1000), 123400);
}
END_TEST