mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-10 05:15:51 -04:00
adds a Dadda multiplier example
This commit is contained in:
parent
50d89aac3d
commit
ec08edbcda
2693
src/main/dig/combinatorial/DaddaMultiplier.dig
Normal file
2693
src/main/dig/combinatorial/DaddaMultiplier.dig
Normal file
File diff suppressed because it is too large
Load Diff
@ -202,6 +202,20 @@
|
||||
</elementAttributes>
|
||||
<pos x="520" y="460"/>
|
||||
</visualElement>
|
||||
<visualElement>
|
||||
<elementName>Out</elementName>
|
||||
<elementAttributes>
|
||||
<entry>
|
||||
<string>Description</string>
|
||||
<string>sum {{de Summe}}</string>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>Label</string>
|
||||
<string>S_i</string>
|
||||
</entry>
|
||||
</elementAttributes>
|
||||
<pos x="960" y="440"/>
|
||||
</visualElement>
|
||||
<visualElement>
|
||||
<elementName>Out</elementName>
|
||||
<elementAttributes>
|
||||
@ -217,20 +231,6 @@
|
||||
</elementAttributes>
|
||||
<pos x="960" y="280"/>
|
||||
</visualElement>
|
||||
<visualElement>
|
||||
<elementName>Out</elementName>
|
||||
<elementAttributes>
|
||||
<entry>
|
||||
<string>Description</string>
|
||||
<string>sum {{de Summe}}</string>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>Label</string>
|
||||
<string>S_i</string>
|
||||
</entry>
|
||||
</elementAttributes>
|
||||
<pos x="960" y="440"/>
|
||||
</visualElement>
|
||||
<visualElement>
|
||||
<elementName>Testcase</elementName>
|
||||
<elementAttributes>
|
||||
|
@ -33,8 +33,8 @@ public class TestExamples extends TestCase {
|
||||
*/
|
||||
public void testDistExamples() throws Exception {
|
||||
File examples = new File(Resources.getRoot().getParentFile().getParentFile(), "/main/dig");
|
||||
assertEquals(299, new FileScanner(this::check).scan(examples));
|
||||
assertEquals(195, testCasesInFiles);
|
||||
assertEquals(300, new FileScanner(this::check).scan(examples));
|
||||
assertEquals(196, testCasesInFiles);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user