소스 검색

fix builtin tests

Julius Pfrommer 10 년 전
부모
커밋
47c08bf305
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tests/check_builtin.c

+ 2 - 2
tests/check_builtin.c

@@ -575,8 +575,8 @@ START_TEST(UA_Double_decodeShallGive2147483648) {
 	// then
 	// then
 	ck_assert_int_eq(retval, UA_STATUSCODE_GOOD);
 	ck_assert_int_eq(retval, UA_STATUSCODE_GOOD);
 	ck_assert_int_eq(pos, 8);
 	ck_assert_int_eq(pos, 8);
-	ck_assert(2147483647.9999999 < dst);
-	ck_assert(dst < 2147483648.00000001);
+	ck_assert(2147483647.9999999 <= dst);
+	ck_assert(dst <= 2147483648.00000001);
 }
 }
 END_TEST
 END_TEST