commit | 3b35fcf3b0ec0d37e427aa03ba758f9b578d58e2 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Sat Jun 13 18:42:39 2020 -0700 |
committer | William A. Kennington III <wak@google.com> | Sat Jun 13 18:50:54 2020 -0700 |
tree | bf5d4948ffae37987b3d77432b290ab3d5cd7e99 | |
parent | 1f1681e26a5d5b55de46501263f5ec8fa7efaa7a [diff] [blame] |
raw: Add equal method Change-Id: I1a5dcadcb1b5a4c0450bba09a8e63b184c9588a3 Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/raw.cpp b/test/raw.cpp index 81de96d..fd8ae71 100644 --- a/test/raw.cpp +++ b/test/raw.cpp
@@ -12,6 +12,15 @@ namespace { +TEST_CASE("Equal", "[Equal]") +{ + int a = 4; + unsigned b = 4; + CHECK(equal(a, b)); + b = 5; + CHECK(!equal(a, b)); +} + TEST_CASE("Copy From Empty", "[CopyFrom]") { const std::string_view s;