mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-13 14:56:29 -04:00
fixes test cases
This commit is contained in:
parent
d69cea6d1d
commit
01b064a0be
@ -51,8 +51,8 @@ public class VerilogSimulatorTest extends TestCase {
|
||||
File examples = new File(Resources.getRoot(), "/dig/test/vhdl");
|
||||
try {
|
||||
int tested = new FileScanner(this::checkVerilogExport).noOutput().scan(examples);
|
||||
assertEquals(66, tested);
|
||||
assertEquals(56, testBenches);
|
||||
assertEquals(67, tested);
|
||||
assertEquals(57, testBenches);
|
||||
} catch (FileScanner.SkipAllException e) {
|
||||
// if iverilog is not installed its also ok
|
||||
}
|
||||
|
@ -43,8 +43,8 @@ public class VHDLSimulatorTest extends TestCase {
|
||||
File examples = new File(Resources.getRoot(), "/dig/test/vhdl");
|
||||
try {
|
||||
int tested = new FileScanner(this::checkVHDLExport).noOutput().scan(examples);
|
||||
assertEquals(66, tested);
|
||||
assertEquals(56, testBenches);
|
||||
assertEquals(67, tested);
|
||||
assertEquals(57, testBenches);
|
||||
} catch (FileScanner.SkipAllException e) {
|
||||
// if ghdl is not installed its also ok
|
||||
}
|
||||
|
@ -51,8 +51,8 @@ public class TestExamples extends TestCase {
|
||||
*/
|
||||
public void testTestExamples() throws Exception {
|
||||
File examples = new File(Resources.getRoot(), "/dig/test");
|
||||
assertEquals(205, new FileScanner(this::check).scan(examples));
|
||||
assertEquals(191, testCasesInFiles);
|
||||
assertEquals(206, new FileScanner(this::check).scan(examples));
|
||||
assertEquals(192, testCasesInFiles);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user