Commit 15feeb89 authored by Sebastian Nickels's avatar Sebastian Nickels

Fixed tests

parent 89f7ca52
Pipeline #144202 failed with stages
in 2 minutes and 44 seconds
......@@ -68,7 +68,7 @@ public class GenerationTest extends AbstractSymtabTest{
Log.getFindings().clear();
String[] args = {"-m", "src/test/resources/valid_tests", "-r", "CifarClassifierNetwork", "-o", "./target/generated-sources-cnnarch/"};
CNNArch2Caffe2Cli.main(args);
assertTrue(Log.getFindings().size() == 2);
assertTrue(Log.getFindings().size() == 1);
}
@Test
......@@ -76,7 +76,7 @@ public class GenerationTest extends AbstractSymtabTest{
Log.getFindings().clear();
String[] args = {"-m", "src/test/resources/architectures", "-r", "Alexnet", "-o", "./target/generated-sources-cnnarch/"};
CNNArch2Caffe2Cli.main(args);
assertTrue(Log.getFindings().size() == 2);
assertTrue(Log.getFindings().size() == 1);
}
@Test
......@@ -109,7 +109,7 @@ public class GenerationTest extends AbstractSymtabTest{
Log.getFindings().clear();;
String[] args = {"-m", "src/test/resources/architectures", "-r", "ResNeXt50"};
CNNArch2Caffe2Cli.main(args);
assertTrue(Log.getFindings().size() == 2);
assertTrue(Log.getFindings().size() == 1);
}
@Test
......@@ -117,7 +117,7 @@ public class GenerationTest extends AbstractSymtabTest{
Log.getFindings().clear();
String[] args = {"-m", "src/test/resources/valid_tests", "-r", "MultipleOutputs"};
CNNArch2Caffe2Cli.main(args);
assertTrue(Log.getFindings().size() == 2);
assertTrue(Log.getFindings().size() == 4);
}
@Test
......
......@@ -4,3 +4,4 @@ LeNet data/LeNet
VGG16 data/VGG16
MultipleOutputs data/MultipleOutputs
ResNeXt50 data/ResNeXt50
ThreeInputCNN_M14 data/ThreeInputCNN_M14
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment