100% coverage, "make oldcompare" passes.
if ((foobar == WORD_EMPTY && id == FEE) ||
(foobar == FEE && id == FIE) ||
(foobar == FIE && id == FOE) ||
if ((foobar == WORD_EMPTY && id == FEE) ||
(foobar == FEE && id == FIE) ||
(foobar == FIE && id == FOE) ||
- (foobar == FOE && id == FOO) ||
- (foobar == FOE && id == FUM)) {
+ (foobar == FOE && id == FOO)) {
- if ((id != FOO) && (id != FUM)) {
rspeak(OK_MAN);
return GO_CLEAROBJ;
}
rspeak(OK_MAN);
return GO_CLEAROBJ;
}
(TOTING(EGGS) && game.loc == objects[EGGS].plac)) {
rspeak(NOTHING_HAPPENS);
return GO_CLEAROBJ;
(TOTING(EGGS) && game.loc == objects[EGGS].plac)) {
rspeak(NOTHING_HAPPENS);
return GO_CLEAROBJ;
- } else if (id == FUM) {
- goto fum;
} else {
/* Bring back troll if we steal the eggs back from him before
* crossing. */
} else {
/* Bring back troll if we steal the eggs back from him before
* crossing. */
return GO_CLEAROBJ;
}
} else {
return GO_CLEAROBJ;
}
} else {
rspeak(START_OVER);
game.foobar = WORD_EMPTY;
return GO_CLEAROBJ;
rspeak(START_OVER);
game.foobar = WORD_EMPTY;
return GO_CLEAROBJ;
+> say fum
+
+What's the matter, can't you read? Now you'd best start over.
+
+> find foo
+
+Nothing happens.
+
What's the matter, can't you read? Now you'd best start over.
>
What's the matter, can't you read? Now you'd best start over.
>
-You scored 253 out of a possible 430, using 315 turns.
+You scored 253 out of a possible 430, using 317 turns.
You have reached "Junior Master" status.
You have reached "Junior Master" status.