From 3c343f8e19feec1df50303eb5dacf5624abe9e31 Mon Sep 17 00:00:00 2001 From: Kosma Moczek Date: Fri, 28 Feb 2014 15:20:30 +0100 Subject: [PATCH] tests.c: use ck_assert_int_eq whenever possible --- tests.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests.c b/tests.c index 318903e..493b7d0 100644 --- a/tests.c +++ b/tests.c @@ -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