more tests; write System.err to console

recursive-iterator
Lothar Buchholz 5 years ago
parent 23354f4a55
commit 16ee5b632a

@ -35,7 +35,7 @@ class SolutionTest {
redirectStreams(
new ByteArrayInputStream( input.getBytes( UTF_8 )),
new PrintStream( bos, true, UTF_8 ),
new PrintStream( new ByteArrayOutputStream(), true, UTF_8 )
oldErr
);
// start time tracking

@ -5,11 +5,15 @@
(()),true
[]{},true
{[]},true
{(((({}))))},true
()[]{}([{}]),true
()[()]({[()]})([]),true
(,false
],false
{],false
(},false
([)],false
{((((})))),false
{(((([))))}],false
{(((([[[[{{},false
()[()]({[[(])]})([]),false
1 () true
5 (()) true
6 []{} true
7 {[]} true
8 {(((({}))))} true
9 ()[]{}([{}]) true
10 ()[()]({[()]})([]) true
11 ( false
12 ] false
13 {] false
14 (} false
15 ([)] false
16 {((((})))) false
17 {(((([))))}] false
18 {(((([[[[{{} false
19 ()[()]({[[(])]})([]) false
Loading…
Cancel
Save