Disabled HighZ-Tests

This commit is contained in:
hneemann 2016-03-28 23:53:25 +02:00
parent 6074a02724
commit 1a4087dc0a
2 changed files with 12 additions and 14 deletions

View File

@ -1,7 +1,6 @@
package de.neemann.digital.core.memory;
import de.neemann.digital.TestExecuter;
import de.neemann.digital.core.HighZException;
import de.neemann.digital.core.Model;
import de.neemann.digital.core.ObservableValue;
import de.neemann.digital.core.element.AttributeKey;
@ -37,12 +36,12 @@ public class ROMTest extends TestCase {
sc.check(5, 1, 0);
sc.check(6, 1, 0);
try {
sc.check(6, 0, 0);
assertTrue(false);
} catch (HighZException e) {
assertTrue(true);
}
// try { ToDo HighZ
// sc.check(6, 0, 0);
// assertTrue(false);
// } catch (HighZException e) {
// assertTrue(true);
// }
}
}

View File

@ -1,7 +1,6 @@
package de.neemann.digital.core.wiring;
import de.neemann.digital.core.BurnException;
import de.neemann.digital.core.HighZException;
import de.neemann.digital.core.ObservableValue;
import de.neemann.digital.draw.elements.PinException;
import junit.framework.TestCase;
@ -24,12 +23,12 @@ public class DataBusTest extends TestCase {
assertEquals(2, out.getValue());
b.set(1, true);
try {
out.getValue();
assertTrue(false);
} catch (HighZException e) {
assertTrue(true);
}
// try { ToDo HighZ
// out.getValue();
// assertTrue(false);
// } catch (HighZException e) {
// assertTrue(true);
// }
a.set(1, false);
b.set(2, false);