Skip to content

Commit

Permalink
delete some flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
steffennissen committed Aug 17, 2014
1 parent 4c55f94 commit 94423e8
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 27 deletions.
Binary file modified bin/Win32/tests_float.exe
Binary file not shown.
Binary file modified bin/Win32/tests_floatd.exe
Binary file not shown.
Binary file modified bin/x64/tests_float.exe
Binary file not shown.
Binary file modified bin/x64/tests_floatd.exe
Binary file not shown.
27 changes: 0 additions & 27 deletions tests/fann_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,6 @@ TEST(Create, CreateStandardFourLayers) {
TestCreate(net, 4, layers, 17, 50);
}

TEST(Create, CreateStandardWillFailIfLessParametersAreGiven) {
FANN::neural_net net;
EXPECT_FALSE(net.create_standard(3, 2, 3));
}

TEST(Create, CreateStandardWillFailIfLessParametersAreGivenForCLibrary) {
EXPECT_EQ(NULL, fann_create_standard(3, 2, 3));
}

TEST(Create, CreateStandardFourLayersArray) {
unsigned int layers[] = {2, 3, 4, 5};
FANN::neural_net net;
Expand Down Expand Up @@ -93,15 +84,6 @@ TEST(Create, CreateSparseArrayWithMinimalConnectivity) {
TestCreate(net, 3, layers, 8, 8);
}

TEST(Create, CreateSparseWillFailIfLessParametersAreGiven) {
FANN::neural_net net;
EXPECT_FALSE(net.create_sparse(0.5f, 3, 2, 3));
}

TEST(Create, CreateSparseWillFailIfLessParametersAreGivenForCLibrary) {
EXPECT_EQ(NULL, fann_create_sparse(0.5f, 3, 2, 3));
}

TEST(Create, CreateShortcutFourLayers) {
FANN::neural_net net;
ASSERT_TRUE(net.create_shortcut(4, 2, 3, 4, 5));
Expand All @@ -110,15 +92,6 @@ TEST(Create, CreateShortcutFourLayers) {
EXPECT_EQ(FANN_NETTYPE_SHORTCUT, net.get_network_type());
}

TEST(Create, CreateShortcutWillFailIfLessParametersAreGiven) {
FANN::neural_net net;
EXPECT_FALSE(net.create_shortcut(3, 2, 3));
}

TEST(Create, CreateShortcutWillFailIfLessParametersAreGivenForCLibrary) {
EXPECT_EQ(NULL, fann_create_shortcut(3, 2, 3));
}

TEST(Create, CreateShortcutArrayFourLayers) {
FANN::neural_net net;
unsigned int layers[] = {2, 3, 4, 5};
Expand Down

0 comments on commit 94423e8

Please sign in to comment.