summaryrefslogtreecommitdiff
path: root/features/ics.feature
diff options
context:
space:
mode:
authordickmao <rchiang@cs.stonybrook.edu>2018-08-28 21:48:31 -0400
committerdickmao <dick.r.chiang@gmail.com>2018-08-30 00:14:42 -0400
commit800dd7677276f9e425c5db37b3e31e56ab1dad32 (patch)
tree09eb145ffcbaf89d873c89e8346ee8d38a88ebbe /features/ics.feature
parent5bd1e7248bb9bf3b335cbd6bec250866bd165af1 (diff)
Add tests for castling legality and ics response handling.
Fixes misinterpretation of "e1-b1" as a valid queenside castle, and makes more sense of ics basic response handling #21. `make test` should run the historic.pgn test and the new ecukes tests.
Diffstat (limited to 'features/ics.feature')
-rw-r--r--features/ics.feature5
1 files changed, 5 insertions, 0 deletions
diff --git a/features/ics.feature b/features/ics.feature
new file mode 100644
index 0000000..5a49dfe
--- /dev/null
+++ b/features/ics.feature
@@ -0,0 +1,5 @@
+Scenario: Echo area should indicate opponent ran out of time.
+ Given ics session
+ When new game
+ And opponent forfeits on time
+ Then I should see message "Your opponent has forfeited the game on time"