Searched refs:assert_print_number (Results 1 – 1 of 1) sorted by relevance
/third_party/cJSON/tests/ |
D | print_number.c | 27 static void assert_print_number(const char *expected, double input) in assert_print_number() function 67 assert_print_number("0", 0); in print_number_should_print_zero() 72 assert_print_number("-1", -1.0); in print_number_should_print_negative_integers() 73 assert_print_number("-32768", -32768.0); in print_number_should_print_negative_integers() 74 assert_print_number("-2147483648", -2147483648.0); in print_number_should_print_negative_integers() 79 assert_print_number("1", 1.0); in print_number_should_print_positive_integers() 80 assert_print_number("32767", 32767.0); in print_number_should_print_positive_integers() 81 assert_print_number("2147483647", 2147483647.0); in print_number_should_print_positive_integers() 86 assert_print_number("0.123", 0.123); in print_number_should_print_positive_reals() 87 assert_print_number("1e-09", 10e-10); in print_number_should_print_positive_reals() [all …]
|