Neil Schemenauer | fd288c7 | 2001-01-02 16:30:31 +0000 | [diff] [blame] | 1 | test_compare |
Neil Schemenauer | e7e694f | 2001-01-03 02:13:26 +0000 | [diff] [blame^] | 2 | 2 == 2 |
3 | 2 == 2.0 | ||||
4 | 2 == 2 | ||||
5 | 2 == (2+0j) | ||||
6 | 2 != [1] | ||||
7 | 2 != (3,) | ||||
8 | 2 != None | ||||
9 | 2 != <Empty> | ||||
10 | 2 == <Coerce 2> | ||||
11 | 2 == <Cmp 2.0> | ||||
12 | 2 != <RCmp 2> | ||||
13 | 2.0 == 2 | ||||
14 | 2.0 == 2.0 | ||||
15 | 2.0 == 2 | ||||
16 | 2.0 == (2+0j) | ||||
17 | 2.0 != [1] | ||||
18 | 2.0 != (3,) | ||||
19 | 2.0 != None | ||||
20 | 2.0 != <Empty> | ||||
21 | 2.0 == <Coerce 2> | ||||
22 | 2.0 == <Cmp 2.0> | ||||
23 | 2.0 != <RCmp 2> | ||||
24 | 2 == 2 | ||||
25 | 2 == 2.0 | ||||
26 | 2 == 2 | ||||
27 | 2 == (2+0j) | ||||
28 | 2 != [1] | ||||
29 | 2 != (3,) | ||||
30 | 2 != None | ||||
31 | 2 != <Empty> | ||||
32 | 2 == <Coerce 2> | ||||
33 | 2 == <Cmp 2.0> | ||||
34 | 2 != <RCmp 2> | ||||
35 | (2+0j) == 2 | ||||
36 | (2+0j) == 2.0 | ||||
37 | (2+0j) == 2 | ||||
38 | (2+0j) == (2+0j) | ||||
39 | (2+0j) != [1] | ||||
40 | (2+0j) != (3,) | ||||
41 | (2+0j) != None | ||||
42 | (2+0j) != <Empty> | ||||
43 | (2+0j) == <Coerce 2> | ||||
44 | (2+0j) == <Cmp 2.0> | ||||
45 | (2+0j) != <RCmp 2> | ||||
46 | [1] != 2 | ||||
47 | [1] != 2.0 | ||||
48 | [1] != 2 | ||||
49 | [1] != (2+0j) | ||||
50 | [1] == [1] | ||||
51 | [1] != (3,) | ||||
52 | [1] != None | ||||
53 | [1] != <Empty> | ||||
54 | [1] != <Coerce 2> | ||||
55 | [1] != <Cmp 2.0> | ||||
56 | [1] != <RCmp 2> | ||||
57 | (3,) != 2 | ||||
58 | (3,) != 2.0 | ||||
59 | (3,) != 2 | ||||
60 | (3,) != (2+0j) | ||||
61 | (3,) != [1] | ||||
62 | (3,) == (3,) | ||||
63 | (3,) != None | ||||
64 | (3,) != <Empty> | ||||
65 | (3,) != <Coerce 2> | ||||
66 | (3,) != <Cmp 2.0> | ||||
67 | (3,) != <RCmp 2> | ||||
68 | None != 2 | ||||
69 | None != 2.0 | ||||
70 | None != 2 | ||||
71 | None != (2+0j) | ||||
72 | None != [1] | ||||
73 | None != (3,) | ||||
74 | None == None | ||||
75 | None != <Empty> | ||||
76 | None != <Coerce 2> | ||||
77 | None != <Cmp 2.0> | ||||
78 | None != <RCmp 2> | ||||
79 | <Empty> != 2 | ||||
80 | <Empty> != 2.0 | ||||
81 | <Empty> != 2 | ||||
82 | <Empty> != (2+0j) | ||||
83 | <Empty> != [1] | ||||
84 | <Empty> != (3,) | ||||
85 | <Empty> != None | ||||
86 | <Empty> == <Empty> | ||||
87 | <Empty> != <Coerce 2> | ||||
88 | <Empty> != <Cmp 2.0> | ||||
89 | <Empty> != <RCmp 2> | ||||
90 | <Coerce 2> == 2 | ||||
91 | <Coerce 2> == 2.0 | ||||
92 | <Coerce 2> == 2 | ||||
93 | <Coerce 2> == (2+0j) | ||||
94 | <Coerce 2> != [1] | ||||
95 | <Coerce 2> != (3,) | ||||
96 | <Coerce 2> != None | ||||
97 | <Coerce 2> != <Empty> | ||||
98 | <Coerce 2> == <Coerce 2> | ||||
99 | <Coerce 2> != <Cmp 2.0> | ||||
100 | <Coerce 2> == <RCmp 2> | ||||
101 | <Cmp 2.0> == 2 | ||||
102 | <Cmp 2.0> == 2.0 | ||||
103 | <Cmp 2.0> == 2 | ||||
104 | <Cmp 2.0> == (2+0j) | ||||
105 | <Cmp 2.0> != [1] | ||||
106 | <Cmp 2.0> != (3,) | ||||
107 | <Cmp 2.0> != None | ||||
108 | <Cmp 2.0> != <Empty> | ||||
109 | <Cmp 2.0> == <Coerce 2> | ||||
110 | <Cmp 2.0> == <Cmp 2.0> | ||||
111 | <Cmp 2.0> != <RCmp 2> | ||||
112 | <RCmp 2> != 2 | ||||
113 | <RCmp 2> != 2.0 | ||||
114 | <RCmp 2> != 2 | ||||
115 | <RCmp 2> != (2+0j) | ||||
116 | <RCmp 2> != [1] | ||||
117 | <RCmp 2> != (3,) | ||||
118 | <RCmp 2> != None | ||||
119 | <RCmp 2> != <Empty> | ||||
120 | <RCmp 2> != <Coerce 2> | ||||
121 | <RCmp 2> != <Cmp 2.0> | ||||
122 | <RCmp 2> == <RCmp 2> |