Add tests for the new functionality
This commit is contained in:
parent
2f43b81823
commit
3078d312a7
1 changed files with 7 additions and 0 deletions
|
@ -25,5 +25,12 @@ public class ADS1_3_test {
|
|||
test("[(])", false);
|
||||
test("[(3 +3)* 35 +3]* {3 +2}", true);
|
||||
test("[({3 +3)* 35} +3]* {3 +2}", false);
|
||||
test("(", false);
|
||||
test(")", false);
|
||||
test("<(<>)>", true);
|
||||
test("<(<)>>", false);
|
||||
test("/* hallo */", true);
|
||||
test("/*/* */", false);
|
||||
test("/*", false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue