forked from bonzini/smalltalk
/
chars.ok
77 lines (59 loc) · 2.48 KB
/
chars.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
Execution begins...
returned value is $A
Execution begins...
returned value is $b
Execution begins...
returned value is $$
Execution begins...
returned value is $!
Execution begins...
returned value is $
Execution begins...
returned value is true
Execution begins...
returned value is true
Execution begins...
#isVowel
________________________________________________________________
_x___x___x_____x_____x___________x___x___x_____x_____x__________
________________________________________________________________
________________________________________________________________
#isLetter
________________________________________________________________
_xxxxxxxxxxxxxxxxxxxxxxxxxx______xxxxxxxxxxxxxxxxxxxxxxxxxx_____
________________________________________________________________
________________________________________________________________
#isUppercase
________________________________________________________________
_xxxxxxxxxxxxxxxxxxxxxxxxxx_____________________________________
________________________________________________________________
________________________________________________________________
#isLowercase
________________________________________________________________
_________________________________xxxxxxxxxxxxxxxxxxxxxxxxxx_____
________________________________________________________________
________________________________________________________________
#isAlphaNumeric
________________________________________________xxxxxxxxxx______
_xxxxxxxxxxxxxxxxxxxxxxxxxx______xxxxxxxxxxxxxxxxxxxxxxxxxx_____
________________________________________________________________
________________________________________________________________
#isDigit
________________________________________________xxxxxxxxxx______
________________________________________________________________
________________________________________________________________
________________________________________________________________
#isSeparator
_________xx_xx__________________x_______________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
returned value is Array new: 7 "<0>"
Execution begins...
#asUppercase
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
PQRSTUVWXYZ[\]^_`ABCDEFGHIJKLMNOPQRSTUVWXYZ{|}~
#asLowercase
!"#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmno
pqrstuvwxyz[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
returned value is Array new: 2 "<0>"