瀏覽代碼

Fixed test for Double class

pcmattulat 4 年之前
父節點
當前提交
aaead83263
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/cases/boxing/DoubleTest.cpp

+ 1 - 1
test/cases/boxing/DoubleTest.cpp

@@ -306,7 +306,7 @@ namespace {
   {
     std::shared_ptr<ls_std::Double> x = std::make_shared<ls_std::Double>(3.14159);
 
-    ASSERT_DOUBLE_EQ(3.14159f, *x);
+    ASSERT_DOUBLE_EQ(3.14159, *x);
 
     auto serializable = std::make_shared<ls_std::SerializableJSONDouble>(x);
     x->setSerializable(std::dynamic_pointer_cast<ls_std::ISerializable>(serializable));