Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
w-martin committed Jul 18, 2011
1 parent 4969b6b commit 6c4403f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/nets/NetFactoryTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ namespace {
auto_ptr<Net> net = createInstance(NET_TYPE_ORNET, size);
EXPECT_TRUE(net.get());
EXPECT_EQ(size, net->getNoInputs());
EXPECT_EQ(NET_TYPE_ORNET, net->getNetType());
EXPECT_EQ(0, strcmp(NET_TYPE_ORNET, net->getNetType()));
}
}
4 changes: 2 additions & 2 deletions test/nets/NeuronFactoryTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ namespace {
size);
EXPECT_TRUE(neuron.get());
EXPECT_EQ(size, neuron->getWeights()->getSize());
EXPECT_EQ(NEURON_TYPE_BDN, neuron->getType());
EXPECT_EQ(0, strcmp(NEURON_TYPE_BDN, neuron->getType()));
}

/*
Expand All @@ -73,6 +73,6 @@ namespace {
size);
EXPECT_TRUE(bdn.get());
EXPECT_EQ(size, bdn->getWeights()->getSize());
EXPECT_EQ(NEURON_TYPE_BDN, bdn->getType());
EXPECT_EQ(0, strcmp(NEURON_TYPE_BDN, bdn->getType()));
}
}

0 comments on commit 6c4403f

Please sign in to comment.