Skip to content

Commit cfe16e0

Browse files
authored
Merge pull request #458 from ckormanyos/more_tests
More tests
2 parents ebeb4af + ca1d5bb commit cfe16e0

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

test/test_uintwide_t_edge_cases.cpp

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2675,11 +2675,15 @@ namespace from_pr_454
26752675

26762676
result_compare_is_ok = ((lhs_orig == rhs_same) == (ctrl_lhs_orig == ctrl_rhs_same)); result_is_ok = (result_compare_is_ok && result_is_ok);
26772677

2678-
result_compare_is_ok = ((lhs_orig > rhs_less) == (ctrl_lhs_orig > ctrl_rhs_less)); result_is_ok = (result_compare_is_ok && result_is_ok);
2679-
result_compare_is_ok = ((lhs_orig != rhs_less) == (ctrl_lhs_orig != ctrl_rhs_less)); result_is_ok = (result_compare_is_ok && result_is_ok);
2680-
2681-
result_compare_is_ok = ((lhs_orig < rhs_grtr) == (ctrl_lhs_orig < ctrl_rhs_grtr)); result_is_ok = (result_compare_is_ok && result_is_ok);
2682-
result_compare_is_ok = ((lhs_orig != rhs_grtr) == (ctrl_lhs_orig != ctrl_rhs_grtr)); result_is_ok = (result_compare_is_ok && result_is_ok);
2678+
result_compare_is_ok = ( (lhs_orig > rhs_less) == (ctrl_lhs_orig > ctrl_rhs_less)); result_is_ok = (result_compare_is_ok && result_is_ok);
2679+
result_compare_is_ok = ( (lhs_orig >= rhs_less) == (ctrl_lhs_orig >= ctrl_rhs_less)); result_is_ok = (result_compare_is_ok && result_is_ok);
2680+
result_compare_is_ok = ( (lhs_orig != rhs_less) == (ctrl_lhs_orig != ctrl_rhs_less)); result_is_ok = (result_compare_is_ok && result_is_ok);
2681+
result_compare_is_ok = ((!(lhs_orig == rhs_less)) == (!(ctrl_lhs_orig == ctrl_rhs_less))); result_is_ok = (result_compare_is_ok && result_is_ok);
2682+
2683+
result_compare_is_ok = ( (lhs_orig < rhs_grtr) == (ctrl_lhs_orig < ctrl_rhs_grtr)); result_is_ok = (result_compare_is_ok && result_is_ok);
2684+
result_compare_is_ok = ( (lhs_orig <= rhs_grtr) == (ctrl_lhs_orig <= ctrl_rhs_grtr)); result_is_ok = (result_compare_is_ok && result_is_ok);
2685+
result_compare_is_ok = ( (lhs_orig != rhs_grtr) == (ctrl_lhs_orig != ctrl_rhs_grtr)); result_is_ok = (result_compare_is_ok && result_is_ok);
2686+
result_compare_is_ok = ((!(lhs_orig == rhs_grtr)) == (!(ctrl_lhs_orig == ctrl_rhs_grtr))); result_is_ok = (result_compare_is_ok && result_is_ok);
26832687

26842688
result_compare_is_ok = ((lhs_orig == rhs_same) == (ctrl_lhs_orig == ctrl_rhs_same)); result_is_ok = (result_compare_is_ok && result_is_ok);
26852689

0 commit comments

Comments
 (0)