You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit adds support and a corresponding unit test for
constructing a test_diagnosis_t object from a test_diagnosis_t
expression of the form
(0 .lessThanOrEqualTo. 1) .and. (2 .equalsExpected. 2)
where the two .and. operands are test_diagnosis_t objects, which in
the above case happen to be the result expression evaluations.
test_description_t("contruction from a real expression of the form `x .approximates. y .within. tolerance`" , check_approximates_real_ptr) &
@@ -89,11 +93,12 @@ function results() result(test_results)
89
93
,test_description_t("contruction from a real expression of the form 'x .lessThan. y" , check_less_than_real_ptr) &
90
94
,test_description_t("contruction from a double precision expression of the form 'x .lessThan. y" , check_less_than_double_ptr) &
91
95
,test_description_t("contruction from a integer expression of the form 'i .lessThan. j" , check_less_than_integer_ptr) &
92
-
,test_description_t("contruction from a integer expression of the form 'i .lessThanOrEqualTo. j") & ! skip check_less_than_or_equal_to_integer_ptr
96
+
,test_description_t("contruction from a integer expression of the form 'i .lessThanOrEqualTo. j" ) & ! skip check_less_than_or_equal_to_integer_ptr
93
97
,test_description_t("contruction from a real expression of the form 'x .greaterThan. y" , check_greater_than_real_ptr) &
94
98
,test_description_t("contruction from a double precision expression of the form 'x .greaterThan. y" , check_greater_than_double_ptr) &
95
99
,test_description_t("contruction from a integer expression of the form 'i .greaterThan. j" , check_greater_than_integer_ptr) &
96
-
,test_description_t("contruction from a integer expression of the form 'i .greaterThanOrEqualTo. j" ) & ! skip check_greater_than_or_equal_to_integer_ptr
100
+
,test_description_t("contruction from a integer expression of the form 'i .greaterThanOrEqualTo. j") & ! skip check_greater_than_or_equal_to_integer_ptr
101
+
,test_description_t("contruction from a test_diagnostics_t expression of the form 't .and. u'" ) & ! skip check_and_operator_ptr
97
102
]
98
103
#endif
99
104
@@ -187,4 +192,10 @@ function check_greater_than_or_equal_to_integer() result(test_diagnosis)
0 commit comments