Fix parsing of new-style coordinates with x=10.
[super-star-trek.git] / test / test21.chk
1
2
3 -SUPER- STAR TREK
4
5
6
7 It is stardate 2877. The Federation is being attacked by
8 a deadly Klingon invasion force. As captain of the United
9 Starship U.S.S. Enterprise, it is your mission to seek out
10 and destroy this invasion force of 9 battle cruisers.
11 You have an initial allotment of 14 stardates to complete
12 your mission.  As you proceed you may be given more time.
13
14 You will have 2 supporting starbases.
15 Starbase locations-  b1  b5  
16
17 The Enterprise is currently in Quadrant b6 Sector c3
18
19 Good Luck!
20 COMMAND> # SST2K version 2.7
21 # Test edge and failure cases in coordinate parsing
22 # recorded by esr@snark.thyrsus.com on Tue Aug 15 06:05:57 2023
23 sr
24      Short-range scan
25     1 2 3 4 5 6 7 8 9 10
26 a   . . . . . . . . . . 
27 b   . . . * . . . . . . 
28 c   . . E . .   . . . . 
29 d   . . . . . . . . . . 
30 e   . . . . . . . . . . 
31 f   . . . . .   . . . . 
32 g   . . . . . . . . . . 
33 h   . . . . . . . . . . 
34 i   . @ . . . . . . . . 
35 j   . . . . . . . . * . 
36 COMMAND> m a a 3
37
38 Beg your pardon, Captain?
39 COMMAND> m a a3
40
41 COMMAND> sr
42      Short-range scan
43     1 2 3 4 5 6 7 8 9 10
44 a   . . E . . . . . . . 
45 b   . . . * . . . . . . 
46 c   . . . . .   . . . . 
47 d   . . . . . . . . . . 
48 e   . . . . . . . . . . 
49 f   . . . . .   . . . . 
50 g   . . . . . . . . . . 
51 h   . . . . . . . . . . 
52 i   . @ . . . . . . . . 
53 j   . . . . . . . . * . 
54 COMMAND> m a a10
55
56 COMMAND> quit
57
58 May the Great Bird of the Galaxy roost upon your home planet.