diff options
| author | Greg Ercolano <erco@seriss.com> | 2024-01-10 21:32:02 -0800 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2024-01-10 21:32:02 -0800 |
| commit | dc70a04100fd491151d3478a05ecf8baecfa894c (patch) | |
| tree | 3071ac4c03b4cd425163dbdcc5ec73ca15adb8f4 /test/unittest_core.cxx | |
| parent | 32514e6d2b0dbcd0dff9f4da65ca6d6e9596feab (diff) | |
Add Fl_String not-equal test
Diffstat (limited to 'test/unittest_core.cxx')
| -rw-r--r-- | test/unittest_core.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unittest_core.cxx b/test/unittest_core.cxx index 23e7ab953..bc91c8dd4 100644 --- a/test/unittest_core.cxx +++ b/test/unittest_core.cxx @@ -193,6 +193,8 @@ TEST(Fl_String, Non-Member Functions) { EXPECT_STREQ(result.c_str(), "x"); EXPECT_TRUE(!(a == b)); EXPECT_TRUE(a == a); + EXPECT_FALSE((a != a)); // neq -erco + EXPECT_TRUE((a != b)); // neq -erco EXPECT_TRUE(empty == empty); EXPECT_TRUE(a+b == "ab"); EXPECT_TRUE(a+"b" == "a" + b); |
