Unit tests updated
This commit is contained in:
16
test/unit/classes/TestClassSwitch.java
Normal file
16
test/unit/classes/TestClassSwitch.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package unit.classes;
|
||||
|
||||
public class TestClassSwitch {
|
||||
|
||||
public void testCaseOrder(int a) {
|
||||
|
||||
switch(a) {
|
||||
case 13:
|
||||
System.out.println(13);
|
||||
return;
|
||||
case 5:
|
||||
System.out.println(5);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user