Fix 6-way switch wiring

This commit is contained in:
Bane Stojkovic
2022-10-06 19:38:09 +02:00
parent da0ce8970d
commit ebbc25a92d
5 changed files with 12 additions and 12 deletions
@@ -56,8 +56,8 @@ public class SwitchTests {
public void testLeverSwitch6Way() {
LeverSwitch leverSwitch = new LeverSwitch();
String[] validCombinations = new String[] {"0,0,8", "0,2,8", "0,1,3", "1,2,8", "1,1,3", "1,1,5", "2,2,8", "2,4,8", "2,1,5",
"3,4,8", "3,1,5", "3,1,7", "4,4,8", "4,6,8", "4,1,7", "5,6,8", "5,1,7", "5,1,9"};
String[] validCombinations = new String[] {"0,0,8", "0,1,3", "0,1,5", "1,0,8", "1,2,8", "1,1,5", "2,2,8", "2,1,5", "2,1,7",
"3,2,8", "3,4,8", "3,1,7", "4,4,8", "4,1,7", "4,1,9", "5,4,8", "5,6,8", "5,1,9"};
leverSwitch.setType(LeverSwitchType._6_WAY_OG);
testSwitch(leverSwitch, validCombinations);