Test coverage -- more corner cases in actions.c

This commit is contained in:
Aaron Traas 2017-06-20 18:43:19 -04:00
parent 7a3f3ec7a6
commit 89de4e4602
8 changed files with 2749 additions and 9 deletions

View file

@ -2467,9 +2467,136 @@ southward passage.
You sift your fingers through the dust, but succeed only in
obliterating the cryptic message.
> n
You scored 343 out of a possible 430, using 400 turns.
You are in a little maze of twisting passages, all different.
> s
Dead end
There is a massive vending machine here, swung back to reveal a
southward passage.
> n
You are in a little maze of twisting passages, all different.
> s
Dead end
There is a massive vending machine here, swung back to reveal a
southward passage.
> n
You are in a little maze of twisting passages, all different.
> s
Dead end
There is a massive vending machine here, swung back to reveal a
southward passage.
> n
You are in a little maze of twisting passages, all different.
> s
Dead end
There is a massive vending machine here, swung back to reveal a
southward passage.
> n
You are in a little maze of twisting passages, all different.
> s
Dead end
There is a massive vending machine here, swung back to reveal a
southward passage.
> n
You are in a little maze of twisting passages, all different.
> s
A sepulchral voice reverberating through the cave, says, "Cave closing
soon. All adventurers exit immediately through main office."
Dead end
There is a massive vending machine here, swung back to reveal a
southward passage.
> n
You are in a little maze of twisting passages, all different.
> s
Dead end
There is a massive vending machine here, swung back to reveal a
southward passage.
> n
You are in a little maze of twisting passages, all different.
> s
Dead end
There is a massive vending machine here, swung back to reveal a
southward passage.
> n
You are in a little maze of twisting passages, all different.
> s
Dead end
There is a massive vending machine here, swung back to reveal a
southward passage.
> n
You are in a little maze of twisting passages, all different.
> s
Dead end
There is a massive vending machine here, swung back to reveal a
southward passage.
> n
You are in a little maze of twisting passages, all different.
> s
Your lamp has run out of power.
It is now pitch dark. If you proceed you will likely fall into a pit.
> lamp on
Your lamp has run out of power.
You scored 368 out of a possible 430, using 423 turns.
Your score puts you in Master Adventurer Class C.
To achieve the next higher rating, you need 33 more points.
To achieve the next higher rating, you need 8 more points.