diff --git a/test-framework/src/main/resources/test_cases/movements_pawn_invalid.md b/test-framework/src/main/resources/test_cases/movements_pawn_invalid.md new file mode 100644 index 0000000..5f0803d --- /dev/null +++ b/test-framework/src/main/resources/test_cases/movements_pawn_invalid.md @@ -0,0 +1,37 @@ +# Pawn invalid movements + +# Size +width = 8 +height = 8 + +# Starting board +``` + a b c d e f g h +1 | | | |BK| | | | | +2 |BP| | | | | | | | +3 | | | | | | | | | +4 | | | | | | | | | +5 | | | | | | | | | +6 | | | | | | | | | +7 |WP| | | | | | | | +8 | | | |WK| | | | | +``` +# Moves +1. a7-a8 + + +# Result +`LAST_MOVE_INVALID` + +# Final board +``` + a b c d e f g h +1 | | | |BK| | | | | +2 |BP| | | | | | | | +3 | | | | | | | | | +4 | | | | | | | | | +5 | | | | | | | | | +6 | | | | | | | | | +7 |WP| | | | | | | | +8 | | | |WK| | | | | +``` \ No newline at end of file