projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
23cc7b4
)
Improve test coverage.
author
Eric S. Raymond
<esr@thyrsus.com>
Sun, 18 Jun 2017 15:36:03 +0000
(11:36 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Sun, 18 Jun 2017 15:36:03 +0000
(11:36 -0400)
tests/defeat.chk
patch
|
blob
|
history
tests/defeat.log
patch
|
blob
|
history
tests/illformed.chk
patch
|
blob
|
history
tests/illformed.log
patch
|
blob
|
history
tests/mazehint.chk
patch
|
blob
|
history
tests/mazehint.log
patch
|
blob
|
history
tests/urntest.chk
patch
|
blob
|
history
tests/urntest.log
patch
|
blob
|
history
diff --git
a/tests/defeat.chk
b/tests/defeat.chk
index 04723da701de32d89b6aa5fe219da7d4a96a284d..19700afb83c9598c354f18bf69d58c1bf7c0abd1 100644
(file)
--- a/
tests/defeat.chk
+++ b/
tests/defeat.chk
@@
-2923,7
+2923,7
@@
OK
You're at ne end.
You're at ne end.
-> blast
+> blast
rod
There is a loud explosion, and a twenty-foot hole appears in the far
wall, burying the snakes in the rubble. A river of molten lava pours
There is a loud explosion, and a twenty-foot hole appears in the far
wall, burying the snakes in the rubble. A river of molten lava pours
diff --git
a/tests/defeat.log
b/tests/defeat.log
index 0b89954772e3d7f778e4162f90c4fd64cc65661c..54b699bde8d9a3b87dd12d91db501cff05a25894 100644
(file)
--- a/
tests/defeat.log
+++ b/
tests/defeat.log
@@
-469,4
+469,4
@@
sw
take rod
drop rod
ne
take rod
drop rod
ne
-blast
+blast
rod
diff --git
a/tests/illformed.chk
b/tests/illformed.chk
index 2ff2740ba9ad445013447fe3cef9bb33910a2fc2..51639719d5223f1a5f627c94e922371247a77b02 100644
(file)
--- a/
tests/illformed.chk
+++ b/
tests/illformed.chk
@@
-228,10
+228,26
@@
I'm game. Would you care to explain how?
I'm game. Would you care to explain how?
I'm game. Would you care to explain how?
+> pour keys
+
+You can't pour that.
+
> throw keys
OK
> throw keys
OK
+> foo up
+
+There is no way to go that direction.
+
+You're inside building.
+
+There are some keys on the ground here.
+
+There is a shiny brass lamp nearby.
+
+There is food here.
+
> eat food
Thank you, it was delicious!
> eat food
Thank you, it was delicious!
@@
-365,7
+381,7
@@
Okay, "BOO".
> score
> score
-You have garnered 27 out of a possible 430 points, using 7
2
turns.
+You have garnered 27 out of a possible 430 points, using 7
4
turns.
> quit keys
> quit keys
@@
-379,7
+395,7
@@
Do you really want to quit now?
OK
OK
-You scored 27 out of a possible 430, using 7
4
turns.
+You scored 27 out of a possible 430, using 7
6
turns.
You are obviously a rank amateur. Better luck next time.
You are obviously a rank amateur. Better luck next time.
diff --git
a/tests/illformed.log
b/tests/illformed.log
index 5acc112b5e60181dfdcc2d839f649b9a4528a6ff..4a0443c09758f393c24ae25b4c82ce23e38f8b06 100644
(file)
--- a/
tests/illformed.log
+++ b/
tests/illformed.log
@@
-47,7
+47,9
@@
wake keys
take keys
feed keys
fly keys
take keys
feed keys
fly keys
+pour keys
throw keys
throw keys
+foo up
eat food
drink blood
drink keys
eat food
drink blood
drink keys
diff --git
a/tests/mazehint.chk
b/tests/mazehint.chk
index 4d2e360792d295beb10bb9918ddac2c858304db2..02b315d79117162986ae79b378dcad529dfcf90b 100644
(file)
--- a/
tests/mazehint.chk
+++ b/
tests/mazehint.chk
@@
-28,7
+28,7
@@
There is a bottle of water here.
OK
OK
-> xyzzy
+>
say
xyzzy
>>Foof!<<
>>Foof!<<
diff --git
a/tests/mazehint.log
b/tests/mazehint.log
index a9e923e0f50445d46e837ab398c4bc7ddef70bd8..454b4f99ad20131dc8d54ddd52b71635b637d07e 100644
(file)
--- a/
tests/mazehint.log
+++ b/
tests/mazehint.log
@@
-3,7
+3,7
@@
n
seed 1071883378
in
take lamp
seed 1071883378
in
take lamp
-xyzzy
+
say
xyzzy
take rod
e
take cage
take rod
e
take cage
diff --git
a/tests/urntest.chk
b/tests/urntest.chk
index 7376d1b2944cb04fe6045c25349e0824128623a9..c72129c3a6b9debdaf06234da6b7dcca02831279 100644
(file)
--- a/
tests/urntest.chk
+++ b/
tests/urntest.chk
@@
-1965,6
+1965,10
@@
down, but a small ledge can be seen to the west across the chasm.
A small urn is embedded in the rock.
A small urn is embedded in the rock.
+> light urn
+
+The urn is empty and will not light.
+
> fill urn
Your bottle is now empty and the urn is full of oil.
> fill urn
Your bottle is now empty and the urn is full of oil.
@@
-1991,7
+1995,7
@@
If you mean to use the persian rug, it does not appear inclined to
cooperate.
cooperate.
-You scored 267 out of a possible 430, using 33
4
turns.
+You scored 267 out of a possible 430, using 33
5
turns.
You have reached "Junior Master" status.
You have reached "Junior Master" status.
diff --git
a/tests/urntest.log
b/tests/urntest.log
index 52e234701fbdb1d2ed0e90d0242a8428ab630760..effc3cd1e944b82934d0eda75939237eced38161 100644
(file)
--- a/
tests/urntest.log
+++ b/
tests/urntest.log
@@
-330,9
+330,10
@@
w
n
n
n
n
n
n
+# Everything to here copied from endgame428
+light urn
fill urn
light urn
fill urn
light urn
-# Everything to here copied from endgame428
fill urn
read urn
extinguish urn
fill urn
read urn
extinguish urn