mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
Standardize dark phenolic color
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package org.diylc.netlist;
|
||||
|
||||
import org.diylc.components.electromechanical.RotarySwitchSealed;
|
||||
import org.diylc.components.electromechanical.RotarySwitchType;
|
||||
import org.diylc.components.electromechanical.RotarySwitchSealedType;
|
||||
import org.junit.Test;
|
||||
|
||||
public abstract class RotarySwitchTests extends AbstractSwitchTests {
|
||||
@@ -13,7 +13,7 @@ public abstract class RotarySwitchTests extends AbstractSwitchTests {
|
||||
String[] validCombinations = new String[] {"0,1,13", "1,2,13", "2,3,13", "3,4,13", "4,5,13", "5,6,13", "6,7,13", "7,8,13",
|
||||
"8,9,13", "9,10,13", "10,11,13", "11,12,13"};
|
||||
|
||||
sw.setValue(RotarySwitchType._1P12T);
|
||||
sw.setValue(RotarySwitchSealedType._1P12T);
|
||||
testSwitch(sw, validCombinations);
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ public abstract class RotarySwitchTests extends AbstractSwitchTests {
|
||||
"0,1,13", "1,2,13", "2,3,13", "3,4,13", "4,5,13", "5,6,13",
|
||||
"0,7,14", "1,8,14", "2,9,14", "3,10,14", "4,11,14", "5,12,14"};
|
||||
|
||||
sw.setValue(RotarySwitchType.DP6T);
|
||||
sw.setValue(RotarySwitchSealedType.DP6T);
|
||||
testSwitch(sw, validCombinations);
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ public abstract class RotarySwitchTests extends AbstractSwitchTests {
|
||||
"0,5,14", "1,6,14", "2,7,14", "3,8,14",
|
||||
"0,9,15", "1,10,15", "2,11,15", "3,12,15"};
|
||||
|
||||
sw.setValue(RotarySwitchType._3P4T);
|
||||
sw.setValue(RotarySwitchSealedType._3P4T);
|
||||
testSwitch(sw, validCombinations);
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ public abstract class RotarySwitchTests extends AbstractSwitchTests {
|
||||
"0,7,15", "1,8,15", "2,9,15",
|
||||
"0,10,16", "1,11,16", "2,12,16",};
|
||||
|
||||
sw.setValue(RotarySwitchType._4P3T);
|
||||
sw.setValue(RotarySwitchSealedType._4P3T);
|
||||
testSwitch(sw, validCombinations);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user