mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-28 23:45:17 -04:00
fixed a bug in the power supply
This commit is contained in:
parent
e4367eb1b0
commit
15dc6fe948
@ -39,7 +39,7 @@ public class TestExamples extends TestCase {
|
|||||||
*/
|
*/
|
||||||
public void testTestExamples() throws Exception {
|
public void testTestExamples() throws Exception {
|
||||||
File examples = new File(Resources.getRoot(), "/dig/test");
|
File examples = new File(Resources.getRoot(), "/dig/test");
|
||||||
assertEquals(85, new FileScanner(this::check).scan(examples));
|
assertEquals(83, new FileScanner(this::check).scan(examples));
|
||||||
assertEquals(74, testCasesInFiles);
|
assertEquals(74, testCasesInFiles);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<circuit>
|
|
||||||
<version>1</version>
|
|
||||||
<attributes/>
|
|
||||||
<visualElements>
|
|
||||||
<visualElement>
|
|
||||||
<elementName>PowerSupply</elementName>
|
|
||||||
<elementAttributes/>
|
|
||||||
<pos x="400" y="320"/>
|
|
||||||
</visualElement>
|
|
||||||
<visualElement>
|
|
||||||
<elementName>Ground</elementName>
|
|
||||||
<elementAttributes/>
|
|
||||||
<pos x="320" y="360"/>
|
|
||||||
</visualElement>
|
|
||||||
<visualElement>
|
|
||||||
<elementName>Not</elementName>
|
|
||||||
<elementAttributes/>
|
|
||||||
<pos x="340" y="320"/>
|
|
||||||
</visualElement>
|
|
||||||
</visualElements>
|
|
||||||
<wires>
|
|
||||||
<wire>
|
|
||||||
<p1 x="320" y="320"/>
|
|
||||||
<p2 x="340" y="320"/>
|
|
||||||
</wire>
|
|
||||||
<wire>
|
|
||||||
<p1 x="380" y="320"/>
|
|
||||||
<p2 x="400" y="320"/>
|
|
||||||
</wire>
|
|
||||||
<wire>
|
|
||||||
<p1 x="320" y="340"/>
|
|
||||||
<p2 x="400" y="340"/>
|
|
||||||
</wire>
|
|
||||||
<wire>
|
|
||||||
<p1 x="320" y="320"/>
|
|
||||||
<p2 x="320" y="340"/>
|
|
||||||
</wire>
|
|
||||||
<wire>
|
|
||||||
<p1 x="320" y="340"/>
|
|
||||||
<p2 x="320" y="360"/>
|
|
||||||
</wire>
|
|
||||||
</wires>
|
|
||||||
</circuit>
|
|
@ -1,49 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<circuit>
|
|
||||||
<version>1</version>
|
|
||||||
<attributes/>
|
|
||||||
<visualElements>
|
|
||||||
<visualElement>
|
|
||||||
<elementName>PowerSupply</elementName>
|
|
||||||
<elementAttributes/>
|
|
||||||
<pos x="400" y="320"/>
|
|
||||||
</visualElement>
|
|
||||||
<visualElement>
|
|
||||||
<elementName>Ground</elementName>
|
|
||||||
<elementAttributes/>
|
|
||||||
<pos x="320" y="360"/>
|
|
||||||
</visualElement>
|
|
||||||
<visualElement>
|
|
||||||
<elementName>VDD</elementName>
|
|
||||||
<elementAttributes/>
|
|
||||||
<pos x="380" y="300"/>
|
|
||||||
</visualElement>
|
|
||||||
<visualElement>
|
|
||||||
<elementName>Delay</elementName>
|
|
||||||
<elementAttributes/>
|
|
||||||
<pos x="340" y="340"/>
|
|
||||||
</visualElement>
|
|
||||||
</visualElements>
|
|
||||||
<wires>
|
|
||||||
<wire>
|
|
||||||
<p1 x="380" y="320"/>
|
|
||||||
<p2 x="400" y="320"/>
|
|
||||||
</wire>
|
|
||||||
<wire>
|
|
||||||
<p1 x="320" y="340"/>
|
|
||||||
<p2 x="340" y="340"/>
|
|
||||||
</wire>
|
|
||||||
<wire>
|
|
||||||
<p1 x="380" y="340"/>
|
|
||||||
<p2 x="400" y="340"/>
|
|
||||||
</wire>
|
|
||||||
<wire>
|
|
||||||
<p1 x="320" y="340"/>
|
|
||||||
<p2 x="320" y="360"/>
|
|
||||||
</wire>
|
|
||||||
<wire>
|
|
||||||
<p1 x="380" y="300"/>
|
|
||||||
<p2 x="380" y="320"/>
|
|
||||||
</wire>
|
|
||||||
</wires>
|
|
||||||
</circuit>
|
|
Loading…
x
Reference in New Issue
Block a user