PageRenderTime 15ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/test/language/unclassified/uw/aux_uw01language.e

http://github.com/tybor/Liberty
Specman e | 97 lines | 76 code | 19 blank | 2 comment | 0 complexity | 4383f2f7ef0cb1a7a1fd1cc5c64943b6 MD5 | raw file
 1class AUX_UW01LANGUAGE
 2
 3feature {ANY}
 4   s1: STRING
 5      once
 6         Result := "animal_action (is it a ..)%N"
 7      end
 8
 9   s2: STRING
10      once
11         Result := "I guessed it!%N"
12      end
13
14   s3: STRING
15      once
16         Result := "I don't know that animal!%N"
17      end
18
19   s4: STRING
20      once
21         Result := "Is it a "
22      end
23
24   s5: STRING
25      once
26         Result := " ? "
27      end
28
29   s6: STRING
30      once
31         Result := "(y/n): "
32      end
33
34   s7: STRING
35      once
36         Result := "Another try ? "
37      end
38
39   s8: STRING
40      once
41         Result := "For a `"
42      end
43
44   s9: STRING
45      once
46         Result := "' the answer to the question%N`"
47      end
48
49   s10: STRING
50      once
51         Result := "'? (y/n): "
52      end
53
54   s11: STRING
55      once
56         Result := "What question distinguishes "
57      end
58
59   s12: STRING
60      once
61         Result := " from a "
62      end
63
64   s13: STRING
65      once
66         Result := "?%N"
67      end
68
69   s14: STRING
70      once
71         Result := "question_action (Question: ..)%N"
72      end
73
74   s15: STRING
75      once
76         Result := "Enter animal: "
77      end
78
79   s16: STRING
80      once
81         Result := "Enter question: "
82      end
83
84feature {ANY}
85   yes_character: CHARACTER
86         -- character used for positive replies
87      once
88         Result := 'y'
89      end
90
91   no_character: CHARACTER
92         -- character used for negative replies
93      once
94         Result := 'n'
95      end
96
97end -- class AUX_UW01LANGUAGE