Debian Codegraph @

tests/double_tests.c

raw symbols SCIP
1 #cxx . . $ `<file>/tests/double_tests.c`/include <cgreen/cgreen.h>cxx . . $ `<file>/include/cgreen/cgreen.h`/
2
3 #ifdef __cpluspluscxx . . $ `<built-in>:440:9`!
4 using namespace cgreen;
5 #endif
6
7 Describecxx . . $ Dummy_Double_t#(Double);
8 BeforeEachcxx . . $ BeforeEach_For_Double_Function(49f6e7a06ebc5aa8).(Double) {}
9 AfterEachcxx . . $ AfterEach_For_Double.(Double) {}
10
11 Ensurecxx . . $ Double__comparison_with_negative_values_should_not_always_succeed(49f6e7a06ebc5aa8).(Double, comparison_with_negative_values_should_not_always_succeed) {
12 /* Issue #146 - Fixed */
13 assert_that_doublecxx . . $ cgreen/(-500, is_not_equal_to_doublecxx . . $ `include/cgreen/constraint_syntax_helpers.h:51:9`!(0));
14 }
15
16 Ensurecxx . . $ `include/cgreen/unit.h:25:9`!(Double, comparisons_with_extremely_small_numbers_should_not_always_fail) {
17 /* Issue #149 */
18 assert_that_doublecxx . . $ `include/cgreen/assertions.h:31:9`!(4.9406564584124654E-324, is_equal_to_doublecxx . . $ `include/cgreen/constraint_syntax_helpers.h:50:9`!(4.9406564584124654E-324));
19 }
20
21 Ensurecxx . . $ `include/cgreen/unit.h:25:9`!(Double, numbers_within_absolute_tolerance_of_zero_are_considered_equal_to_zero) {
22 double my_dbl_min = 2.2250738585072014e-308;
23 assert_that_doublecxx . . $ cgreen/(1.0e4 * my_dbl_min, is_equal_to_doublecxx . . $ `include/cgreen/constraint_syntax_helpers.h:50:9`!(0.0));
24 }