@@ -116,7 +116,7 @@ void schema_2() {
116116 expect (
117117 interpreter
118118 .validateOnScheme (
119- "PAINT({blue}, 4, square bottom left), GO(A3), PAINT({blue}, :, up), GO(right), PAINT({yellow}, :, up), GO(C5), PAINT({yellow}, 4, square bottom left)" ,
119+ "PAINT({blue}, 4, square right up left), GO(A3), PAINT({blue}, :, up), GO(right), PAINT({yellow}, :, up), GO(C5), PAINT({yellow}, 4, square right up left)" ,
120120 2 )
121121 .first
122122 .completed,
@@ -142,7 +142,7 @@ void schema_2() {
142142 expect (
143143 interpreter
144144 .validateOnScheme (
145- "PAINT({blue}, 4, square bottom left), GO(A3), PAINT({blue}, :, up), FILL_EMPTY(yellow)" ,
145+ "PAINT({blue}, 4, square right up left), GO(A3), PAINT({blue}, :, up), FILL_EMPTY(yellow)" ,
146146 2 )
147147 .first
148148 .completed,
@@ -523,7 +523,7 @@ void other_schemas() {
523523 1 );
524524 BasicShape expected = Cross .fromList ([
525525 [0 , 0 , 1 , 1 , 0 , 0 ],
526- [0 , 0 , 0 , 0 , 0 , 0 ],
526+ [0 , 0 , 1 , 0 , 0 , 0 ],
527527 [0 , 0 , 0 , 0 , 0 , 0 ],
528528 [0 , 0 , 0 , 0 , 0 , 0 ],
529529 [0 , 0 , 1 , 0 , 0 , 0 ],
@@ -574,15 +574,15 @@ void valid_patters() {
574574 test ("" , () {
575575 interpreter.reset ();
576576 var response = interpreter.validateOnScheme (
577- "paint({green},1,square bottom left),mirror(vertical),go(c4),paint({blue},1,square bottom left),mirror(vertical)" ,
577+ "paint({green},1,square right up left),mirror(vertical),go(c4),paint({blue},1,square right up left),mirror(vertical)" ,
578578 1 );
579579 expect (response.first.completed, isFalse);
580580 expect (response.second, equals (CatError .none));
581581 });
582582 test ("" , () {
583583 interpreter.reset ();
584584 var response = interpreter.validateOnScheme (
585- "mirror({paint({green},1,square bottom left)},vertical),go(c4),mirror({paint({blue},1,square bottom left)},vertical)" ,
585+ "mirror({paint({green},1,square right up left)},vertical),go(c4),mirror({paint({blue},1,square right up left)},vertical)" ,
586586 1 );
587587 expect (response.first.completed, isFalse);
588588 expect (response.second, equals (CatError .none));
@@ -605,7 +605,7 @@ void valid_patters() {
605605 test ("" , () {
606606 interpreter.reset ();
607607 var response = interpreter.validateOnScheme (
608- "paint({red},1,square bottom left),mirror({c1,d1},vertical)" , 1 );
608+ "paint({red},1,square right up left),mirror({c1,d1},vertical)" , 1 );
609609 expect (response.first.completed, isFalse);
610610 expect (response.second, equals (CatError .none));
611611 });
@@ -652,7 +652,7 @@ void valid_patters() {
652652 test ("" , () {
653653 interpreter.reset ();
654654 var response = interpreter.validateOnScheme (
655- "go(a4),mirror({mirror({paint({red,blue,yellow},3,up)},horizontal)},vertical),go(c1),mirror({paint({blue},1,square bottom left)},vertical)" ,
655+ "go(a4),mirror({mirror({paint({red,blue,yellow},3,up)},horizontal)},vertical),go(c1),mirror({paint({blue},1,square right up left)},vertical)" ,
656656 1 );
657657 expect (response.first.completed, isFalse);
658658 expect (response.second, equals (CatError .none));
@@ -676,7 +676,7 @@ void valid_patters() {
676676 test ("" , () {
677677 interpreter.reset ();
678678 var response = interpreter.validateOnScheme (
679- "paint({yellow,red,yellow},:,right),go(up),paint({red,yellow,yellow},:,right),go(a3),paint({yellow,yellow,red},1,square bottom left),go(e3),paint({yellow,red,yellow,red},1,square bottom left)" ,
679+ "paint({yellow,red,yellow},:,right),go(up),paint({red,yellow,yellow},:,right),go(a3),paint({yellow,yellow,red},1,square right up left),go(e3),paint({yellow,red,yellow,red},1,square right up left)" ,
680680 1 );
681681 expect (response.first.completed, isFalse);
682682 expect (response.second, equals (CatError .none));
0 commit comments