From 543df84db6acd6ecf17c66ae8776715b99cb162c Mon Sep 17 00:00:00 2001 From: krzys-h Date: Sat, 18 Jun 2016 22:31:32 +0200 Subject: [PATCH] Enabled more tests See https://github.com/colobot/colobot/pull/783#issuecomment-226963085 --- test/unit/CBot/CBot_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/unit/CBot/CBot_test.cpp b/test/unit/CBot/CBot_test.cpp index 355e37ac..e8cdcd1d 100644 --- a/test/unit/CBot/CBot_test.cpp +++ b/test/unit/CBot/CBot_test.cpp @@ -463,12 +463,12 @@ TEST_F(CBotUT, VarImplicitCast) "{\n" " string a = 2;\n" " ASSERT(a == \"2\");\n" - //" a = 3;\n" // TODO: this certainly looks wrong, you an assign a number in initialization but not in assignment - //" ASSERT(a == \"3\");\n" + " a = 3;\n" + " ASSERT(a == \"3\");\n" " string b = 2.5;\n" " ASSERT(b == \"2.5\");\n" - //" b = 3.5;\n" - //" ASSERT(b == \"3.5\");\n" + " b = 3.5;\n" + " ASSERT(b == \"3.5\");\n" "}\n" );