diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2015-08-01 22:50:00 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2015-08-01 22:50:00 +0200 |
commit | 2e6ecf423c8228ac8de4badf4fc2d037a876b7ff (patch) | |
tree | 82624e97a3d1ee47db05e320bf0014726f68c09d /test/neural_network.cpp | |
parent | 1f40ce6f3c710d6339d2001a56f401b6a9dcd525 (diff) |
Reading network from file
Diffstat (limited to 'test/neural_network.cpp')
-rw-r--r-- | test/neural_network.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/neural_network.cpp b/test/neural_network.cpp index 6040c83..dd029d6 100644 --- a/test/neural_network.cpp +++ b/test/neural_network.cpp @@ -25,14 +25,14 @@ SCENARIO("network is read from istream") GIVEN("a valid config file") { std::stringstream file; - file << "s0 n2 0.5" << std::endl; - file << "n2 n1 1" << std::endl; + file << "s0 n3 0.5" << std::endl; + file << "n3 n1 1" << std::endl; file << "b0 n0 0.4" << std::endl; - file << "b0 n2 0.5" << std:: endl; + file << "b0 n3 0.5" << std:: endl; WHEN("the network is initialized") { - NeuralNetwork network(std::move(file), 1, 2); + NeuralNetwork network(std::move(file), 1, 3); THEN("the network is constructed correctly") { |