| 716 | // Equality comparison template (tests == and !=) |
| 717 | template<typename ContainerFactory> |
| 718 | void test_operator_equals() { |
| 719 | auto c1 = ContainerFactory::create(1, 2, 3); |
| 720 | auto c2 = ContainerFactory::create(1, 2, 3); |
| 721 | auto c3 = ContainerFactory::create(1, 2, 4); |
| 722 | |
| 723 | FL_CHECK(c1 == c2); |
| 724 | FL_CHECK_FALSE(c1 != c2); |
| 725 | FL_CHECK(c1 != c3); |
| 726 | FL_CHECK_FALSE(c1 == c3); |
| 727 | } |
| 728 | |
| 729 | // Less-than comparison template (tests < and <=) |
| 730 | template<typename ContainerFactory> |