From: Eric S. Raymond Date: Thu, 25 Apr 2019 14:07:00 +0000 (-0400) Subject: Test that code is well-behaved when we escape a Tholian. X-Git-Tag: 2.6~14 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=5b6388fe59a65050f9c35ff923474007a496223b;p=super-star-trek.git Test that code is well-behaved when we escape a Tholian. --- diff --git a/test/test09.chk b/test/test09.chk new file mode 100644 index 0000000..099fb00 --- /dev/null +++ b/test/test09.chk @@ -0,0 +1,156 @@ + + +-SUPER- STAR TREK + + + +Stardate 3632. + +16 Klingons. +An unknown number of Romulans. +And one (GULP) Super-Commander. +7 stardates. +2 starbases in 6 - 2 5 - 6 + +The Enterprise is currently in Quadrant 3 - 6 Sector 8 - 6 + +Good Luck! + YOU'LL NEED IT. +COMMAND> # SST2K version 2.5 +# Test that escaping a quadrant with a Tholian in it removes him. +# recorded by esr@snark on Thu Apr 25 09:27:17 2019 + +COMMAND> m a 8 10 + +Uhura- Captain, Gamma Tranguli VI (Vaalel) in Quadrant 7 - 2 reports it is under attack +by a Klingon invasion fleet. +COMMAND> +COMMAND> sh up +Shields raised. +COMMAND> m a 7 2 7 1 + +Ensign Chekov- "Course laid in, Captain." + +[ANNOUNCEMENT ARRIVING...] +Lt. Uhura- "Captain, Starfleet Intelligence reports + a planet in Quadrant 3 - 3 has been destroyed + by the Super-commander." + +[ANNOUNCEMENT ARRIVING...] +Lt. Uhura- "Captain, Starfleet Intelligence reports + a planet in Quadrant 2 - 3 has been destroyed + by the Super-commander." +Uhura- We've lost contact with starsystem Gamma Tranguli VI (Vaalel) +in Quadrant 7 - 2. + + +[ANNOUNCEMENT ARRIVING...] + +***Enterprise caught in long range tractor beam-- +Enterprise is pulled to Quadrant 4 - 7, Sector 1 - 8 + +Enemy attack reduces shield strength to 93%, torpedoes left 10 +COMMAND> +COMMAND> torp 1 9 8 + +Torpedo track- 2 - 8 3 - 8 4 - 8 +5 - 8 6 - 8 7 - 8 8 - 8 9 - 8 +***Commander at Sector 9 - 8 damaged-- displaced by blast to Sector 2 - 7 + +26 unit hit from Klingon at 2 - 7 + + +Energy left 3938 shields up 81%, torpedoes left 9 +COMMAND> torp 1 2 7 + +Torpedo track- 2 - 7 +***Commander at Sector 2 - 7 destroyed. +COMMAND> +COMMAND> sh down +Shields lowered. +COMMAND> +COMMAND> m a 2 7 1 10 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 2 - 7. +COMMAND> +COMMAND> sh up +Shields raised. +COMMAND> +COMMAND> m a 1 6 10 10 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 1 - 6. + +111 unit hit from Klingon at 9 - 4 + + +Energy left 3525 shields up 66%, torpedoes left 8 + +264 unit hit from Klingon at 9 - 4 + + +Energy left 3260 shields up 49%, torpedoes left 8 +COMMAND> m a 0 10 + +Beg your pardon, Captain? +COMMAND> m a 9 10 + + +257 unit hit from Klingon at 9 - 4 + +***CRITICAL HIT--D. S. Probe damaged. + +Energy left 2752 shields up 41%, torpedoes left 8 + +Mc Coy- "Sickbay to bridge. We suffered 2 casualties + in that last attack." +COMMAND> torp 2 9 5 + +Track for torpedo number 1- 9 - 9 9 - 8 9 - 7 +9 - 6 9 - 5 9 - 4 +***Super-commander at Sector 9 - 4 uses anti-photon device; + torpedo neutralized. + +Track for torpedo number 2- 9 - 9 9 - 8 9 - 7 +9 - 6 9 - 5 9 - 4 +***Super-commander at Sector 9 - 4 damaged-- displaced by blast to Sector 8 - 9 + +63 unit hit from Klingon at 8 - 9 + + +Energy left 2663 shields up 40%, torpedoes left 6 +COMMAND> torp 1 8 9 + +Torpedo track- 8 - 9 +***Super-commander at Sector 8 - 9 uses anti-photon device; + torpedo neutralized. + +50 unit hit from Klingon at 8 - 9 + + +Energy left 2613 shields up 39%, torpedoes left 5 +COMMAND> torp 2 8 9 + +Track for torpedo number 1- 8 - 9 +***Super-commander at Sector 8 - 9 destroyed. + +Track for torpedo number 2- 8 - 9 7 - 8 6 - 7 +5 - 6 4 - 5 +Star at Sector 4 - 5 novas. + +Enemy attack reduces shield strength to 39%, torpedoes left 3 +COMMAND> +COMMAND> m a 1 7 9 1 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 1 - 7. +COMMAND> +COMMAND> sh down +Shields lowered. +COMMAND> quit + +May the Great Bird of the Galaxy roost upon your home planet. diff --git a/test/test09.log b/test/test09.log new file mode 100644 index 0000000..67a0833 --- /dev/null +++ b/test/test09.log @@ -0,0 +1,31 @@ +# seed 1556198837 +# options regular short good fancy +# SST2K version 2.5 +# Test that escaping a quadrant with a Tholian in it removes him. +# recorded by esr@snark on Thu Apr 25 09:27:17 2019 + +m a 8 10 + +sh up +m a 7 2 7 1 + +torp 1 9 8 +torp 1 2 7 + +sh down + +m a 2 7 1 10 + +sh up + +m a 1 6 10 10 +m a 0 10 +m a 9 10 +torp 2 9 5 +torp 1 8 9 +torp 2 8 9 + +m a 1 7 9 1 + +sh down +quit