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:
c8dbb24
)
Improve test coverage.
author
Eric S. Raymond
<esr@thyrsus.com>
Sun, 18 Jun 2017 11:26:59 +0000
(07:26 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Sun, 18 Jun 2017 11:26:59 +0000
(07:26 -0400)
tests/fillvase.chk
patch
|
blob
|
history
tests/fillvase.log
patch
|
blob
|
history
tests/urntest.chk
patch
|
blob
|
history
tests/urntest.log
patch
|
blob
|
history
tests/vending.chk
patch
|
blob
|
history
tests/vending.log
patch
|
blob
|
history
diff --git
a/tests/fillvase.chk
b/tests/fillvase.chk
index 6555421c39ffaab3b5561b89549a22a384798627..ee7c96a989ca79d8a9e604a17ca5a1a7995b639e 100644
(file)
--- a/
tests/fillvase.chk
+++ b/
tests/fillvase.chk
@@
-1273,6
+1273,10
@@
There is a delicate, precious, ming vase here!
OK
OK
+> fill vase
+
+There is nothing here with which to fill it.
+
> se
There is a threatening little dwarf in the room with you!
> se
There is a threatening little dwarf in the room with you!
@@
-1419,7
+1423,7
@@
I'm afraid I don't understand.
The sudden change in temperature has delicately shattered the vase.
The sudden change in temperature has delicately shattered the vase.
-You scored 191 out of a possible 430, using 23
3
turns.
+You scored 191 out of a possible 430, using 23
4
turns.
You may now consider yourself a "Seasoned Adventurer".
You may now consider yourself a "Seasoned Adventurer".
diff --git
a/tests/fillvase.log
b/tests/fillvase.log
index d5de162cea4c43939569d98b6e539b87e33059cb..9532d9d5bd18447e424e1af784c7fa15375bb344 100644
(file)
--- a/
tests/fillvase.log
+++ b/
tests/fillvase.log
@@
-213,6
+213,8
@@
take trident
nw
s
take vase
nw
s
take vase
+# Inserted
+fill vase
se
throw axe
take axe
se
throw axe
take axe
@@
-232,7
+234,7
@@
n
off
plugh
out
off
plugh
out
-# Everything above this from endgame428
+# Everything
not marked 'Inserted'
above this from endgame428
inven
stream
read vase
inven
stream
read vase
diff --git
a/tests/urntest.chk
b/tests/urntest.chk
index 092f92dd4e2042d71f5c58cd006b0b6dcd2df2c0..a6bee9d6f281df4a345104d70f9a888bc2727028 100644
(file)
--- a/
tests/urntest.chk
+++ b/
tests/urntest.chk
@@
-1109,8
+1109,6
@@
a small pool of oil in one corner of the pit.
Your bottle is now full of oil.
Your bottle is now full of oil.
->
-
> u
You're at east end of Twopit Room.
> u
You're at east end of Twopit Room.
@@
-1975,6
+1973,10
@@
Your bottle is now empty and the urn is full of oil.
The urn is now lit.
The urn is now lit.
+> fill urn
+
+The urn is already full of oil.
+
> read urn
I'm afraid I don't understand.
> read urn
I'm afraid I don't understand.
@@
-1984,7
+1986,7
@@
I'm afraid I don't understand.
The urn is now dark.
The urn is now dark.
-You scored 267 out of a possible 430, using 33
2
turns.
+You scored 267 out of a possible 430, using 33
3
turns.
You have reached "Junior Master" status.
You have reached "Junior Master" status.
diff --git
a/tests/urntest.log
b/tests/urntest.log
index e0d4682ad65106f280e8a2033fed2ee334fbb5fd..f0c2a2cebccc9efb0ed2695306cada228ce37f91 100644
(file)
--- a/
tests/urntest.log
+++ b/
tests/urntest.log
@@
-183,7
+183,6
@@
drop appendage
e
d
get oil
e
d
get oil
-
u
w
d
u
w
d
@@
-334,5
+333,6
@@
n
fill urn
light urn
# Everything to here copied from endgame428
fill urn
light urn
# Everything to here copied from endgame428
+fill urn
read urn
extinguish urn
read urn
extinguish urn
diff --git
a/tests/vending.chk
b/tests/vending.chk
index b74c08170f92a000015f8ea27a583dfb07102053..56b48bcd261464fe3e3582efca42b229bf4f3610 100644
(file)
--- a/
tests/vending.chk
+++ b/
tests/vending.chk
@@
-7,11
+7,6
@@
You are standing at the end of a road before a small brick building.
Around you is a forest. A small stream flows out of the building and
down a gully.
Around you is a forest. A small stream flows out of the building and
down a gully.
-> seed 368611969
-Seed set to 368611969
-
-You're in front of building.
-
> seed 1635997320
Seed set to 1635997320
> seed 1635997320
Seed set to 1635997320
diff --git
a/tests/vending.log
b/tests/vending.log
index a92dcf2763dfcb911675bdcedaabcdc934bf1abb..28f14826649c9cdee373bbb0c4fd88eae4647d69 100644
(file)
--- a/
tests/vending.log
+++ b/
tests/vending.log
@@
-1,6
+1,5
@@
## Get batteries from the vending machine
n
## Get batteries from the vending machine
n
-seed 368611969
seed 1635997320
in
take lamp
seed 1635997320
in
take lamp