Browse Source

Extended tests for Integer class

Patrick 4 years ago
parent
commit
3d9a542358
1 changed files with 1 additions and 0 deletions
  1. 1 0
      test/cases/boxing/IntegerTest.cpp

+ 1 - 0
test/cases/boxing/IntegerTest.cpp

@@ -53,6 +53,7 @@ namespace {
     ls_std::Integer z {-15};
 
     ASSERT_EQ(20, x + y);
+    ASSERT_EQ(8, 1 + y);
     ASSERT_EQ(5, x + y + z);
     ASSERT_EQ(15, x + 2);
     ASSERT_EQ(0, x + 2 + z);