From 87450282a5b25fbba617985f72c49597f72083da Mon Sep 17 00:00:00 2001 From: gumi Date: Sat, 17 Feb 2018 17:41:56 -0500 Subject: remove some useless tests from option_test --- src/compat/option_test.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/compat') diff --git a/src/compat/option_test.cpp b/src/compat/option_test.cpp index 69f3a60..5a3dbe4 100644 --- a/src/compat/option_test.cpp +++ b/src/compat/option_test.cpp @@ -467,29 +467,18 @@ TEST(Option, cmp) using option::Some; using option::None; - Option none = None; - - EQ(none, none); - EQ(none, None); - LT(none, Some(-1)); - LT(none, Some(0)); - LT(none, Some(1)); - EQ((None), none); // EQ((None), None); // actually a function template LT((None), Some(-1)); LT((None), Some(0)); LT((None), Some(1)); - GT(Some(-1), none); GT(Some(-1), None); EQ(Some(-1), Some(-1)); LT(Some(-1), Some(0)); LT(Some(-1), Some(1)); - GT(Some(0), none); GT(Some(0), None); GT(Some(0), Some(-1)); EQ(Some(0), Some(0)); LT(Some(0), Some(1)); - GT(Some(1), none); GT(Some(1), None); GT(Some(1), Some(-1)); GT(Some(1), Some(0)); -- cgit v1.2.3-70-g09d2