forked from bonzini/smalltalk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
strings.ok
137 lines (97 loc) · 2.29 KB
/
strings.ok
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
Execution begins...
returned value is 'foo'
Execution begins...
returned value is 'foo on you'
Execution begins...
returned value is 'foo on
multiple line string
you'
Execution begins...
returned value is 'test embedded quote marks, can't I do this?'
Execution begins...
returned value is $B
Execution begins...
returned value is $Q
Execution begins...
returned value is 'Quem'
Execution begins...
'should be false 'false
'should be false 'false
'should be true 'true
'should be true 'true
'should be true 'true
'should be true 'true
'should be true 'true
'should be true 'true
'should be true 'true
'should be true 'true
'should be true 'true
'should be true 'true
'should be true 'true
'should be false 'false
'should be false 'false
returned value is false
Execution begins...
returned value is '(810)123-4567'
Execution begins...
returned value is '543-123-4567'
Execution begins...
returned value is '496-44-9294'
Execution begins...
returned value is '$123.45'
Execution begins...
returned value is 'Publication number SR28-5959-1'
Execution begins...
returned value is 'Card Number 3883 500284 5643 Expires 10/97'
Execution begins...
returned value is '543- - '
Execution begins...
returned value is ' - - '
Execution begins...
returned value is ''
Execution begins...
returned value is 'xaxbxcx'
Execution begins...
returned value is 'fx'
Execution begins...
returned value is 'fx'
Execution begins...
returned value is 'fx'
Execution begins...
returned value is 'xbx'
Execution begins...
returned value is 'xbx'
Execution begins...
returned value is 'xbx'
Execution begins...
returned value is 'xbxcx'
Execution begins...
returned value is 'xbxcx'
Execution begins...
returned value is '('abc' 'def' )'
Execution begins...
returned value is '('' 'abc' 'def' )'
Execution begins...
returned value is '('a' 'b' 'c' )'
Execution begins...
returned value is '('a' )'
Execution begins...
returned value is '('a' )'
Execution begins...
returned value is '('a' )'
Execution begins...
returned value is 4
Execution begins...
returned value is 4
Execution begins...
returned value is 4
Execution begins...
returned value is 4
Execution begins...
returned value is 4
Execution begins...
returned value is 4
Execution begins...
returned value is 1
Execution begins...
returned value is 1