From 7c9503c81990a37b14fe261f7061259f86453664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Zbyszy=C5=84ski?= <m.zbyszynski@gold.ac.uk> Date: Tue, 26 Sep 2017 17:15:30 +0100 Subject: [PATCH] Fixing RapidLib unit test --- tests/src/test_RapidLib.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/test_RapidLib.cpp b/tests/src/test_RapidLib.cpp index 8e53939..5d530bb 100644 --- a/tests/src/test_RapidLib.cpp +++ b/tests/src/test_RapidLib.cpp @@ -33,8 +33,8 @@ SCENARIO("Test NN Regression", "[machineLearning]") std::string filepath = "/var/tmp/modelSetDescription.json"; myNN.writeJSON(filepath); - std::vector<double> inputVec = { 1.618, 18.9 }; //arbitrary input - REQUIRE(myNN.run(inputVec)[0] == 12.596715279688551); + std::vector<double> inputVec = { 1.618, 18.9 }; //arbitrary input + REQUIRE(myNN.run(inputVec)[0] == 12.596715279688549); WHEN("when NN model is deserialized from file") { -- GitLab