OLD | NEW |
1 define(['dart_sdk', 'expect'], function(dart_sdk, expect) { | 1 define(['dart_sdk', 'expect'], function(dart_sdk, expect) { |
2 'use strict'; | 2 'use strict'; |
3 const core = dart_sdk.core; | 3 const core = dart_sdk.core; |
4 const dart = dart_sdk.dart; | 4 const dart = dart_sdk.dart; |
5 const dartx = dart_sdk.dartx; | 5 const dartx = dart_sdk.dartx; |
6 const minitest = expect.minitest; | 6 const minitest = expect.minitest; |
7 const equality_test = Object.create(null); | 7 const equality_test = Object.create(null); |
8 let TToT = () => (TToT = dart.constFn(dart.gFnType(T => [T, [T]])))(); | 8 let TToT = () => (TToT = dart.constFn(dart.gFnType(T => [T, [T]])))(); |
9 let VoidToT = () => (VoidToT = dart.constFn(dart.gFnType(T => [T, []])))(); | 9 let VoidToT = () => (VoidToT = dart.constFn(dart.gFnType(T => [T, []])))(); |
10 let VoidToNull = () => (VoidToNull = dart.constFn(dart.fnType(core.Null, [])))
(); | 10 let VoidToNull = () => (VoidToNull = dart.constFn(dart.fnType(core.Null, [])))
(); |
11 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.fnType(dart.dynam
ic, [])))(); | 11 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.fnType(dart.dynam
ic, [])))(); |
12 equality_test.Music = class Music extends core.Object { | 12 equality_test.Music = class Music extends core.Object { |
13 new(index) { | |
14 this.index = index; | |
15 } | |
16 toString() { | 13 toString() { |
17 return { | 14 return { |
18 0: "Music.country", | 15 0: "Music.country", |
19 1: "Music.western" | 16 1: "Music.western" |
20 }[this.index]; | 17 }[this.index]; |
21 } | 18 } |
22 }; | 19 }; |
| 20 (equality_test.Music.new = function(x) { |
| 21 this.index = x; |
| 22 }).prototype = equality_test.Music.prototype; |
23 dart.setSignature(equality_test.Music, { | 23 dart.setSignature(equality_test.Music, { |
24 fields: () => ({index: dart.finalFieldType(core.int)}) | 24 fields: () => ({index: dart.finalFieldType(core.int)}) |
25 }); | 25 }); |
26 dart.defineEnumValues(equality_test.Music, [ | 26 dart.defineEnumValues(equality_test.Music, [ |
27 'country', | 27 'country', |
28 'western' | 28 'western' |
29 ]); | 29 ]); |
30 equality_test.BluesBrother = class BluesBrother extends core.Object {}; | 30 equality_test.BluesBrother = class BluesBrother extends core.Object {}; |
| 31 (equality_test.BluesBrother.new = function() { |
| 32 }).prototype = equality_test.BluesBrother.prototype; |
31 equality_test._Jake = class _Jake extends equality_test.BluesBrother {}; | 33 equality_test._Jake = class _Jake extends equality_test.BluesBrother {}; |
| 34 (equality_test._Jake.new = function() { |
| 35 }).prototype = equality_test._Jake.prototype; |
32 equality_test._Elwood = class _Elwood extends equality_test.BluesBrother { | 36 equality_test._Elwood = class _Elwood extends equality_test.BluesBrother { |
33 ['=='](other) { | 37 ['=='](other) { |
34 return equality_test._Elwood.is(other); | 38 return equality_test._Elwood.is(other); |
35 } | 39 } |
36 }; | 40 }; |
| 41 (equality_test._Elwood.new = function() { |
| 42 }).prototype = equality_test._Elwood.prototype; |
37 dart.setSignature(equality_test._Elwood, { | 43 dart.setSignature(equality_test._Elwood, { |
38 methods: () => ({'==': dart.fnType(core.bool, [core.Object])}) | 44 methods: () => ({'==': dart.fnType(core.bool, [core.Object])}) |
39 }); | 45 }); |
40 equality_test._Norman = class _Norman extends equality_test.BluesBrother {}; | 46 equality_test._Norman = class _Norman extends equality_test.BluesBrother {}; |
| 47 (equality_test._Norman.new = function() { |
| 48 }).prototype = equality_test._Norman.prototype; |
41 equality_test.hideNull = function(T) { | 49 equality_test.hideNull = function(T) { |
42 return x => { | 50 return x => { |
43 return x; | 51 return x; |
44 }; | 52 }; |
45 }; | 53 }; |
46 dart.fn(equality_test.hideNull, TToT()); | 54 dart.fn(equality_test.hideNull, TToT()); |
47 equality_test.getUndefined = function(T) { | 55 equality_test.getUndefined = function(T) { |
48 return () => { | 56 return () => { |
49 return T._check(core.List.new(1)[dartx._get](0)); | 57 return T._check(core.List.new(1)[dartx._get](0)); |
50 }; | 58 }; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 minitest.expect(dart.equals(o1, d2), false); | 114 minitest.expect(dart.equals(o1, d2), false); |
107 minitest.expect(dart.equals(o1, o2), false); | 115 minitest.expect(dart.equals(o1, o2), false); |
108 }, VoidToNull())); | 116 }, VoidToNull())); |
109 minitest.test('Equal enum/other (static, nullable)', dart.fn(() => { | 117 minitest.test('Equal enum/other (static, nullable)', dart.fn(() => { |
110 let e1 = equality_test.hideNull(equality_test.Music)(equality_test.Music
.country); | 118 let e1 = equality_test.hideNull(equality_test.Music)(equality_test.Music
.country); |
111 let s1 = equality_test.hideNull(core.String)("hello"); | 119 let s1 = equality_test.hideNull(core.String)("hello"); |
112 let s2 = equality_test.hideNull(core.String)(""); | 120 let s2 = equality_test.hideNull(core.String)(""); |
113 let i1 = equality_test.hideNull(core.int)(3); | 121 let i1 = equality_test.hideNull(core.int)(3); |
114 let i2 = equality_test.hideNull(core.int)(0); | 122 let i2 = equality_test.hideNull(core.int)(0); |
115 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); | 123 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); |
116 let b1 = equality_test.hideNull(equality_test.BluesBrother)(new equality
_test._Norman()); | 124 let b1 = equality_test.hideNull(equality_test.BluesBrother)(new equality
_test._Norman.new()); |
117 minitest.expect(dart.equals(e1, s1), false); | 125 minitest.expect(dart.equals(e1, s1), false); |
118 minitest.expect(dart.equals(e1, s2), false); | 126 minitest.expect(dart.equals(e1, s2), false); |
119 minitest.expect(dart.equals(e1, i1), false); | 127 minitest.expect(dart.equals(e1, i1), false); |
120 minitest.expect(dart.equals(e1, i2), false); | 128 minitest.expect(dart.equals(e1, i2), false); |
121 minitest.expect(dart.equals(e1, l1), false); | 129 minitest.expect(dart.equals(e1, l1), false); |
122 minitest.expect(dart.equals(e1, b1), false); | 130 minitest.expect(dart.equals(e1, b1), false); |
123 minitest.expect(dart.equals(s1, e1), false); | 131 minitest.expect(dart.equals(s1, e1), false); |
124 minitest.expect(dart.equals(s2, e1), false); | 132 minitest.expect(dart.equals(s2, e1), false); |
125 minitest.expect(dart.equals(i1, e1), false); | 133 minitest.expect(dart.equals(i1, e1), false); |
126 minitest.expect(dart.equals(i2, e1), false); | 134 minitest.expect(dart.equals(i2, e1), false); |
127 minitest.expect(dart.equals(l1, e1), false); | 135 minitest.expect(dart.equals(l1, e1), false); |
128 minitest.expect(dart.equals(b1, e1), false); | 136 minitest.expect(dart.equals(b1, e1), false); |
129 }, VoidToNull())); | 137 }, VoidToNull())); |
130 minitest.test('Equal enum/other (static, non-null)', dart.fn(() => { | 138 minitest.test('Equal enum/other (static, non-null)', dart.fn(() => { |
131 let e1 = equality_test.Music.country; | 139 let e1 = equality_test.Music.country; |
132 let s1 = "hello"; | 140 let s1 = "hello"; |
133 let s2 = ""; | 141 let s2 = ""; |
134 let i1 = 3; | 142 let i1 = 3; |
135 let i2 = 0; | 143 let i2 = 0; |
136 let l1 = core.List.new(3); | 144 let l1 = core.List.new(3); |
137 let b1 = new equality_test._Norman(); | 145 let b1 = new equality_test._Norman.new(); |
138 minitest.expect(dart.equals(e1, s1), false); | 146 minitest.expect(dart.equals(e1, s1), false); |
139 minitest.expect(dart.equals(e1, s2), false); | 147 minitest.expect(dart.equals(e1, s2), false); |
140 minitest.expect(dart.equals(e1, i1), false); | 148 minitest.expect(dart.equals(e1, i1), false); |
141 minitest.expect(dart.equals(e1, i2), false); | 149 minitest.expect(dart.equals(e1, i2), false); |
142 minitest.expect(dart.equals(e1, l1), false); | 150 minitest.expect(dart.equals(e1, l1), false); |
143 minitest.expect(dart.equals(e1, b1), false); | 151 minitest.expect(dart.equals(e1, b1), false); |
144 minitest.expect(dart.equals(s1, e1), false); | 152 minitest.expect(dart.equals(s1, e1), false); |
145 minitest.expect(dart.equals(s2, e1), false); | 153 minitest.expect(dart.equals(s2, e1), false); |
146 minitest.expect(dart.equals(i1, e1), false); | 154 minitest.expect(dart.equals(i1, e1), false); |
147 minitest.expect(dart.equals(i2, e1), false); | 155 minitest.expect(dart.equals(i2, e1), false); |
148 minitest.expect(dart.equals(l1, e1), false); | 156 minitest.expect(dart.equals(l1, e1), false); |
149 minitest.expect(dart.equals(b1, e1), false); | 157 minitest.expect(dart.equals(b1, e1), false); |
150 }, VoidToNull())); | 158 }, VoidToNull())); |
151 minitest.test('Equal enum/other (dynamic, nullable)', dart.fn(() => { | 159 minitest.test('Equal enum/other (dynamic, nullable)', dart.fn(() => { |
152 let e1 = equality_test.hideNull(equality_test.Music)(equality_test.Music
.country); | 160 let e1 = equality_test.hideNull(equality_test.Music)(equality_test.Music
.country); |
153 let d1 = equality_test.hideNull(equality_test.Music)(equality_test.Music
.country); | 161 let d1 = equality_test.hideNull(equality_test.Music)(equality_test.Music
.country); |
154 let s1 = equality_test.hideNull(core.String)("hello"); | 162 let s1 = equality_test.hideNull(core.String)("hello"); |
155 let s2 = equality_test.hideNull(core.String)(""); | 163 let s2 = equality_test.hideNull(core.String)(""); |
156 let i1 = equality_test.hideNull(core.int)(3); | 164 let i1 = equality_test.hideNull(core.int)(3); |
157 let i2 = equality_test.hideNull(core.int)(0); | 165 let i2 = equality_test.hideNull(core.int)(0); |
158 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); | 166 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); |
159 let b1 = equality_test.hideNull(equality_test._Norman)(new equality_test
._Norman()); | 167 let b1 = equality_test.hideNull(equality_test._Norman)(new equality_test
._Norman.new()); |
160 minitest.expect(dart.equals(e1, s1), false); | 168 minitest.expect(dart.equals(e1, s1), false); |
161 minitest.expect(dart.equals(e1, s2), false); | 169 minitest.expect(dart.equals(e1, s2), false); |
162 minitest.expect(dart.equals(e1, i1), false); | 170 minitest.expect(dart.equals(e1, i1), false); |
163 minitest.expect(dart.equals(e1, i2), false); | 171 minitest.expect(dart.equals(e1, i2), false); |
164 minitest.expect(dart.equals(e1, l1), false); | 172 minitest.expect(dart.equals(e1, l1), false); |
165 minitest.expect(dart.equals(e1, b1), false); | 173 minitest.expect(dart.equals(e1, b1), false); |
166 minitest.expect(dart.equals(s1, e1), false); | 174 minitest.expect(dart.equals(s1, e1), false); |
167 minitest.expect(dart.equals(s2, e1), false); | 175 minitest.expect(dart.equals(s2, e1), false); |
168 minitest.expect(dart.equals(i1, e1), false); | 176 minitest.expect(dart.equals(i1, e1), false); |
169 minitest.expect(dart.equals(i2, e1), false); | 177 minitest.expect(dart.equals(i2, e1), false); |
(...skipping 13 matching lines...) Expand all Loading... |
183 minitest.expect(dart.equals(b1, d1), false); | 191 minitest.expect(dart.equals(b1, d1), false); |
184 }, VoidToNull())); | 192 }, VoidToNull())); |
185 minitest.test('Equal enum/other (dynamic, non-null)', dart.fn(() => { | 193 minitest.test('Equal enum/other (dynamic, non-null)', dart.fn(() => { |
186 let e1 = equality_test.Music.country; | 194 let e1 = equality_test.Music.country; |
187 let d1 = equality_test.Music.country; | 195 let d1 = equality_test.Music.country; |
188 let s1 = "hello"; | 196 let s1 = "hello"; |
189 let s2 = ""; | 197 let s2 = ""; |
190 let i1 = 3; | 198 let i1 = 3; |
191 let i2 = 0; | 199 let i2 = 0; |
192 let l1 = core.List.new(3); | 200 let l1 = core.List.new(3); |
193 let b1 = new equality_test._Norman(); | 201 let b1 = new equality_test._Norman.new(); |
194 minitest.expect(dart.equals(e1, s1), false); | 202 minitest.expect(dart.equals(e1, s1), false); |
195 minitest.expect(dart.equals(e1, s2), false); | 203 minitest.expect(dart.equals(e1, s2), false); |
196 minitest.expect(dart.equals(e1, i1), false); | 204 minitest.expect(dart.equals(e1, i1), false); |
197 minitest.expect(dart.equals(e1, i2), false); | 205 minitest.expect(dart.equals(e1, i2), false); |
198 minitest.expect(dart.equals(e1, l1), false); | 206 minitest.expect(dart.equals(e1, l1), false); |
199 minitest.expect(dart.equals(e1, b1), false); | 207 minitest.expect(dart.equals(e1, b1), false); |
200 minitest.expect(dart.equals(s1, e1), false); | 208 minitest.expect(dart.equals(s1, e1), false); |
201 minitest.expect(dart.equals(s2, e1), false); | 209 minitest.expect(dart.equals(s2, e1), false); |
202 minitest.expect(dart.equals(i1, e1), false); | 210 minitest.expect(dart.equals(i1, e1), false); |
203 minitest.expect(dart.equals(i2, e1), false); | 211 minitest.expect(dart.equals(i2, e1), false); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 minitest.expect(dart.equals(o1, d2), false); | 280 minitest.expect(dart.equals(o1, d2), false); |
273 minitest.expect(dart.equals(o1, o2), false); | 281 minitest.expect(dart.equals(o1, o2), false); |
274 }, VoidToNull())); | 282 }, VoidToNull())); |
275 minitest.test('Equal string/other (static, nullable)', dart.fn(() => { | 283 minitest.test('Equal string/other (static, nullable)', dart.fn(() => { |
276 let e1 = equality_test.hideNull(core.String)("The"); | 284 let e1 = equality_test.hideNull(core.String)("The"); |
277 let s1 = equality_test.hideNull(core.String)("hello"); | 285 let s1 = equality_test.hideNull(core.String)("hello"); |
278 let s2 = equality_test.hideNull(core.String)(""); | 286 let s2 = equality_test.hideNull(core.String)(""); |
279 let i1 = equality_test.hideNull(core.int)(3); | 287 let i1 = equality_test.hideNull(core.int)(3); |
280 let i2 = equality_test.hideNull(core.int)(0); | 288 let i2 = equality_test.hideNull(core.int)(0); |
281 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); | 289 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); |
282 let b1 = equality_test.hideNull(equality_test.BluesBrother)(new equality
_test._Norman()); | 290 let b1 = equality_test.hideNull(equality_test.BluesBrother)(new equality
_test._Norman.new()); |
283 minitest.expect(e1 == s1, false); | 291 minitest.expect(e1 == s1, false); |
284 minitest.expect(e1 == s2, false); | 292 minitest.expect(e1 == s2, false); |
285 minitest.expect(dart.equals(e1, i1), false); | 293 minitest.expect(dart.equals(e1, i1), false); |
286 minitest.expect(dart.equals(e1, i2), false); | 294 minitest.expect(dart.equals(e1, i2), false); |
287 minitest.expect(dart.equals(e1, l1), false); | 295 minitest.expect(dart.equals(e1, l1), false); |
288 minitest.expect(dart.equals(e1, b1), false); | 296 minitest.expect(dart.equals(e1, b1), false); |
289 minitest.expect(s1 == e1, false); | 297 minitest.expect(s1 == e1, false); |
290 minitest.expect(s2 == e1, false); | 298 minitest.expect(s2 == e1, false); |
291 minitest.expect(dart.equals(i1, e1), false); | 299 minitest.expect(dart.equals(i1, e1), false); |
292 minitest.expect(dart.equals(i2, e1), false); | 300 minitest.expect(dart.equals(i2, e1), false); |
293 minitest.expect(dart.equals(l1, e1), false); | 301 minitest.expect(dart.equals(l1, e1), false); |
294 minitest.expect(dart.equals(b1, e1), false); | 302 minitest.expect(dart.equals(b1, e1), false); |
295 }, VoidToNull())); | 303 }, VoidToNull())); |
296 minitest.test('Equal string/other (static, non-null)', dart.fn(() => { | 304 minitest.test('Equal string/other (static, non-null)', dart.fn(() => { |
297 let e1 = "The"; | 305 let e1 = "The"; |
298 let s1 = "hello"; | 306 let s1 = "hello"; |
299 let s2 = ""; | 307 let s2 = ""; |
300 let i1 = 3; | 308 let i1 = 3; |
301 let i2 = 0; | 309 let i2 = 0; |
302 let l1 = core.List.new(3); | 310 let l1 = core.List.new(3); |
303 let b1 = new equality_test._Norman(); | 311 let b1 = new equality_test._Norman.new(); |
304 minitest.expect(e1 == s1, false); | 312 minitest.expect(e1 == s1, false); |
305 minitest.expect(e1 == s2, false); | 313 minitest.expect(e1 == s2, false); |
306 minitest.expect(dart.equals(e1, i1), false); | 314 minitest.expect(dart.equals(e1, i1), false); |
307 minitest.expect(dart.equals(e1, i2), false); | 315 minitest.expect(dart.equals(e1, i2), false); |
308 minitest.expect(dart.equals(e1, l1), false); | 316 minitest.expect(dart.equals(e1, l1), false); |
309 minitest.expect(dart.equals(e1, b1), false); | 317 minitest.expect(dart.equals(e1, b1), false); |
310 minitest.expect(s1 == e1, false); | 318 minitest.expect(s1 == e1, false); |
311 minitest.expect(s2 == e1, false); | 319 minitest.expect(s2 == e1, false); |
312 minitest.expect(dart.equals(i1, e1), false); | 320 minitest.expect(dart.equals(i1, e1), false); |
313 minitest.expect(dart.equals(i2, e1), false); | 321 minitest.expect(dart.equals(i2, e1), false); |
314 minitest.expect(dart.equals(l1, e1), false); | 322 minitest.expect(dart.equals(l1, e1), false); |
315 minitest.expect(dart.equals(b1, e1), false); | 323 minitest.expect(dart.equals(b1, e1), false); |
316 }, VoidToNull())); | 324 }, VoidToNull())); |
317 minitest.test('Equal string/other (dynamic, nullable)', dart.fn(() => { | 325 minitest.test('Equal string/other (dynamic, nullable)', dart.fn(() => { |
318 let e1 = equality_test.hideNull(core.String)("The"); | 326 let e1 = equality_test.hideNull(core.String)("The"); |
319 let d1 = equality_test.hideNull(core.String)("The"); | 327 let d1 = equality_test.hideNull(core.String)("The"); |
320 let s1 = equality_test.hideNull(core.String)("hello"); | 328 let s1 = equality_test.hideNull(core.String)("hello"); |
321 let s2 = equality_test.hideNull(core.String)(""); | 329 let s2 = equality_test.hideNull(core.String)(""); |
322 let i1 = equality_test.hideNull(core.int)(3); | 330 let i1 = equality_test.hideNull(core.int)(3); |
323 let i2 = equality_test.hideNull(core.int)(0); | 331 let i2 = equality_test.hideNull(core.int)(0); |
324 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); | 332 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); |
325 let b1 = equality_test.hideNull(equality_test._Norman)(new equality_test
._Norman()); | 333 let b1 = equality_test.hideNull(equality_test._Norman)(new equality_test
._Norman.new()); |
326 minitest.expect(dart.equals(e1, s1), false); | 334 minitest.expect(dart.equals(e1, s1), false); |
327 minitest.expect(dart.equals(e1, s2), false); | 335 minitest.expect(dart.equals(e1, s2), false); |
328 minitest.expect(dart.equals(e1, i1), false); | 336 minitest.expect(dart.equals(e1, i1), false); |
329 minitest.expect(dart.equals(e1, i2), false); | 337 minitest.expect(dart.equals(e1, i2), false); |
330 minitest.expect(dart.equals(e1, l1), false); | 338 minitest.expect(dart.equals(e1, l1), false); |
331 minitest.expect(dart.equals(e1, b1), false); | 339 minitest.expect(dart.equals(e1, b1), false); |
332 minitest.expect(dart.equals(s1, e1), false); | 340 minitest.expect(dart.equals(s1, e1), false); |
333 minitest.expect(dart.equals(s2, e1), false); | 341 minitest.expect(dart.equals(s2, e1), false); |
334 minitest.expect(dart.equals(i1, e1), false); | 342 minitest.expect(dart.equals(i1, e1), false); |
335 minitest.expect(dart.equals(i2, e1), false); | 343 minitest.expect(dart.equals(i2, e1), false); |
(...skipping 13 matching lines...) Expand all Loading... |
349 minitest.expect(dart.equals(b1, d1), false); | 357 minitest.expect(dart.equals(b1, d1), false); |
350 }, VoidToNull())); | 358 }, VoidToNull())); |
351 minitest.test('Equal string/other (dynamic, non-null)', dart.fn(() => { | 359 minitest.test('Equal string/other (dynamic, non-null)', dart.fn(() => { |
352 let e1 = "The"; | 360 let e1 = "The"; |
353 let d1 = "The"; | 361 let d1 = "The"; |
354 let s1 = "hello"; | 362 let s1 = "hello"; |
355 let s2 = ""; | 363 let s2 = ""; |
356 let i1 = 3; | 364 let i1 = 3; |
357 let i2 = 0; | 365 let i2 = 0; |
358 let l1 = core.List.new(3); | 366 let l1 = core.List.new(3); |
359 let b1 = new equality_test._Norman(); | 367 let b1 = new equality_test._Norman.new(); |
360 minitest.expect(e1 == s1, false); | 368 minitest.expect(e1 == s1, false); |
361 minitest.expect(e1 == s2, false); | 369 minitest.expect(e1 == s2, false); |
362 minitest.expect(dart.equals(e1, i1), false); | 370 minitest.expect(dart.equals(e1, i1), false); |
363 minitest.expect(dart.equals(e1, i2), false); | 371 minitest.expect(dart.equals(e1, i2), false); |
364 minitest.expect(dart.equals(e1, l1), false); | 372 minitest.expect(dart.equals(e1, l1), false); |
365 minitest.expect(dart.equals(e1, b1), false); | 373 minitest.expect(dart.equals(e1, b1), false); |
366 minitest.expect(s1 == e1, false); | 374 minitest.expect(s1 == e1, false); |
367 minitest.expect(s2 == e1, false); | 375 minitest.expect(s2 == e1, false); |
368 minitest.expect(dart.equals(i1, e1), false); | 376 minitest.expect(dart.equals(i1, e1), false); |
369 minitest.expect(dart.equals(i2, e1), false); | 377 minitest.expect(dart.equals(i2, e1), false); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 minitest.expect(dart.equals(o1, d2), false); | 446 minitest.expect(dart.equals(o1, d2), false); |
439 minitest.expect(dart.equals(o1, o2), false); | 447 minitest.expect(dart.equals(o1, o2), false); |
440 }, VoidToNull())); | 448 }, VoidToNull())); |
441 minitest.test('Equal bool/other (static, nullable)', dart.fn(() => { | 449 minitest.test('Equal bool/other (static, nullable)', dart.fn(() => { |
442 let e1 = equality_test.hideNull(core.bool)(true); | 450 let e1 = equality_test.hideNull(core.bool)(true); |
443 let s1 = equality_test.hideNull(core.String)("hello"); | 451 let s1 = equality_test.hideNull(core.String)("hello"); |
444 let s2 = equality_test.hideNull(core.String)(""); | 452 let s2 = equality_test.hideNull(core.String)(""); |
445 let i1 = equality_test.hideNull(core.int)(3); | 453 let i1 = equality_test.hideNull(core.int)(3); |
446 let i2 = equality_test.hideNull(core.int)(0); | 454 let i2 = equality_test.hideNull(core.int)(0); |
447 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); | 455 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); |
448 let b1 = equality_test.hideNull(equality_test.BluesBrother)(new equality
_test._Norman()); | 456 let b1 = equality_test.hideNull(equality_test.BluesBrother)(new equality
_test._Norman.new()); |
449 minitest.expect(dart.equals(e1, s1), false); | 457 minitest.expect(dart.equals(e1, s1), false); |
450 minitest.expect(dart.equals(e1, s2), false); | 458 minitest.expect(dart.equals(e1, s2), false); |
451 minitest.expect(dart.equals(e1, i1), false); | 459 minitest.expect(dart.equals(e1, i1), false); |
452 minitest.expect(dart.equals(e1, i2), false); | 460 minitest.expect(dart.equals(e1, i2), false); |
453 minitest.expect(dart.equals(e1, l1), false); | 461 minitest.expect(dart.equals(e1, l1), false); |
454 minitest.expect(dart.equals(e1, b1), false); | 462 minitest.expect(dart.equals(e1, b1), false); |
455 minitest.expect(dart.equals(s1, e1), false); | 463 minitest.expect(dart.equals(s1, e1), false); |
456 minitest.expect(dart.equals(s2, e1), false); | 464 minitest.expect(dart.equals(s2, e1), false); |
457 minitest.expect(dart.equals(i1, e1), false); | 465 minitest.expect(dart.equals(i1, e1), false); |
458 minitest.expect(dart.equals(i2, e1), false); | 466 minitest.expect(dart.equals(i2, e1), false); |
459 minitest.expect(dart.equals(l1, e1), false); | 467 minitest.expect(dart.equals(l1, e1), false); |
460 minitest.expect(dart.equals(b1, e1), false); | 468 minitest.expect(dart.equals(b1, e1), false); |
461 }, VoidToNull())); | 469 }, VoidToNull())); |
462 minitest.test('Equal bool/other (static, non-null)', dart.fn(() => { | 470 minitest.test('Equal bool/other (static, non-null)', dart.fn(() => { |
463 let e1 = true; | 471 let e1 = true; |
464 let s1 = "hello"; | 472 let s1 = "hello"; |
465 let s2 = ""; | 473 let s2 = ""; |
466 let i1 = 3; | 474 let i1 = 3; |
467 let i2 = 0; | 475 let i2 = 0; |
468 let l1 = core.List.new(3); | 476 let l1 = core.List.new(3); |
469 let b1 = new equality_test._Norman(); | 477 let b1 = new equality_test._Norman.new(); |
470 minitest.expect(dart.equals(e1, s1), false); | 478 minitest.expect(dart.equals(e1, s1), false); |
471 minitest.expect(dart.equals(e1, s2), false); | 479 minitest.expect(dart.equals(e1, s2), false); |
472 minitest.expect(dart.equals(e1, i1), false); | 480 minitest.expect(dart.equals(e1, i1), false); |
473 minitest.expect(dart.equals(e1, i2), false); | 481 minitest.expect(dart.equals(e1, i2), false); |
474 minitest.expect(dart.equals(e1, l1), false); | 482 minitest.expect(dart.equals(e1, l1), false); |
475 minitest.expect(dart.equals(e1, b1), false); | 483 minitest.expect(dart.equals(e1, b1), false); |
476 minitest.expect(dart.equals(s1, e1), false); | 484 minitest.expect(dart.equals(s1, e1), false); |
477 minitest.expect(dart.equals(s2, e1), false); | 485 minitest.expect(dart.equals(s2, e1), false); |
478 minitest.expect(dart.equals(i1, e1), false); | 486 minitest.expect(dart.equals(i1, e1), false); |
479 minitest.expect(dart.equals(i2, e1), false); | 487 minitest.expect(dart.equals(i2, e1), false); |
480 minitest.expect(dart.equals(l1, e1), false); | 488 minitest.expect(dart.equals(l1, e1), false); |
481 minitest.expect(dart.equals(b1, e1), false); | 489 minitest.expect(dart.equals(b1, e1), false); |
482 }, VoidToNull())); | 490 }, VoidToNull())); |
483 minitest.test('Equal bool/other (dynamic, nullable)', dart.fn(() => { | 491 minitest.test('Equal bool/other (dynamic, nullable)', dart.fn(() => { |
484 let e1 = equality_test.hideNull(core.bool)(true); | 492 let e1 = equality_test.hideNull(core.bool)(true); |
485 let d1 = equality_test.hideNull(core.bool)(true); | 493 let d1 = equality_test.hideNull(core.bool)(true); |
486 let s1 = equality_test.hideNull(core.String)("hello"); | 494 let s1 = equality_test.hideNull(core.String)("hello"); |
487 let s2 = equality_test.hideNull(core.String)(""); | 495 let s2 = equality_test.hideNull(core.String)(""); |
488 let i1 = equality_test.hideNull(core.int)(3); | 496 let i1 = equality_test.hideNull(core.int)(3); |
489 let i2 = equality_test.hideNull(core.int)(0); | 497 let i2 = equality_test.hideNull(core.int)(0); |
490 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); | 498 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); |
491 let b1 = equality_test.hideNull(equality_test._Norman)(new equality_test
._Norman()); | 499 let b1 = equality_test.hideNull(equality_test._Norman)(new equality_test
._Norman.new()); |
492 minitest.expect(dart.equals(e1, s1), false); | 500 minitest.expect(dart.equals(e1, s1), false); |
493 minitest.expect(dart.equals(e1, s2), false); | 501 minitest.expect(dart.equals(e1, s2), false); |
494 minitest.expect(dart.equals(e1, i1), false); | 502 minitest.expect(dart.equals(e1, i1), false); |
495 minitest.expect(dart.equals(e1, i2), false); | 503 minitest.expect(dart.equals(e1, i2), false); |
496 minitest.expect(dart.equals(e1, l1), false); | 504 minitest.expect(dart.equals(e1, l1), false); |
497 minitest.expect(dart.equals(e1, b1), false); | 505 minitest.expect(dart.equals(e1, b1), false); |
498 minitest.expect(dart.equals(s1, e1), false); | 506 minitest.expect(dart.equals(s1, e1), false); |
499 minitest.expect(dart.equals(s2, e1), false); | 507 minitest.expect(dart.equals(s2, e1), false); |
500 minitest.expect(dart.equals(i1, e1), false); | 508 minitest.expect(dart.equals(i1, e1), false); |
501 minitest.expect(dart.equals(i2, e1), false); | 509 minitest.expect(dart.equals(i2, e1), false); |
(...skipping 13 matching lines...) Expand all Loading... |
515 minitest.expect(dart.equals(b1, d1), false); | 523 minitest.expect(dart.equals(b1, d1), false); |
516 }, VoidToNull())); | 524 }, VoidToNull())); |
517 minitest.test('Equal bool/other (dynamic, non-null)', dart.fn(() => { | 525 minitest.test('Equal bool/other (dynamic, non-null)', dart.fn(() => { |
518 let e1 = true; | 526 let e1 = true; |
519 let d1 = true; | 527 let d1 = true; |
520 let s1 = "hello"; | 528 let s1 = "hello"; |
521 let s2 = ""; | 529 let s2 = ""; |
522 let i1 = 3; | 530 let i1 = 3; |
523 let i2 = 0; | 531 let i2 = 0; |
524 let l1 = core.List.new(3); | 532 let l1 = core.List.new(3); |
525 let b1 = new equality_test._Norman(); | 533 let b1 = new equality_test._Norman.new(); |
526 minitest.expect(dart.equals(e1, s1), false); | 534 minitest.expect(dart.equals(e1, s1), false); |
527 minitest.expect(dart.equals(e1, s2), false); | 535 minitest.expect(dart.equals(e1, s2), false); |
528 minitest.expect(dart.equals(e1, i1), false); | 536 minitest.expect(dart.equals(e1, i1), false); |
529 minitest.expect(dart.equals(e1, i2), false); | 537 minitest.expect(dart.equals(e1, i2), false); |
530 minitest.expect(dart.equals(e1, l1), false); | 538 minitest.expect(dart.equals(e1, l1), false); |
531 minitest.expect(dart.equals(e1, b1), false); | 539 minitest.expect(dart.equals(e1, b1), false); |
532 minitest.expect(dart.equals(s1, e1), false); | 540 minitest.expect(dart.equals(s1, e1), false); |
533 minitest.expect(dart.equals(s2, e1), false); | 541 minitest.expect(dart.equals(s2, e1), false); |
534 minitest.expect(dart.equals(i1, e1), false); | 542 minitest.expect(dart.equals(i1, e1), false); |
535 minitest.expect(dart.equals(i2, e1), false); | 543 minitest.expect(dart.equals(i2, e1), false); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 minitest.expect(dart.equals(o1, d2), false); | 612 minitest.expect(dart.equals(o1, d2), false); |
605 minitest.expect(dart.equals(o1, o2), false); | 613 minitest.expect(dart.equals(o1, o2), false); |
606 }, VoidToNull())); | 614 }, VoidToNull())); |
607 minitest.test('Equal string/other (static, nullable)', dart.fn(() => { | 615 minitest.test('Equal string/other (static, nullable)', dart.fn(() => { |
608 let e1 = equality_test.hideNull(core.String)("The"); | 616 let e1 = equality_test.hideNull(core.String)("The"); |
609 let s1 = equality_test.hideNull(core.String)("hello"); | 617 let s1 = equality_test.hideNull(core.String)("hello"); |
610 let s2 = equality_test.hideNull(core.String)(""); | 618 let s2 = equality_test.hideNull(core.String)(""); |
611 let i1 = equality_test.hideNull(core.int)(3); | 619 let i1 = equality_test.hideNull(core.int)(3); |
612 let i2 = equality_test.hideNull(core.int)(0); | 620 let i2 = equality_test.hideNull(core.int)(0); |
613 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); | 621 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); |
614 let b1 = equality_test.hideNull(equality_test.BluesBrother)(new equality
_test._Norman()); | 622 let b1 = equality_test.hideNull(equality_test.BluesBrother)(new equality
_test._Norman.new()); |
615 minitest.expect(e1 == s1, false); | 623 minitest.expect(e1 == s1, false); |
616 minitest.expect(e1 == s2, false); | 624 minitest.expect(e1 == s2, false); |
617 minitest.expect(dart.equals(e1, i1), false); | 625 minitest.expect(dart.equals(e1, i1), false); |
618 minitest.expect(dart.equals(e1, i2), false); | 626 minitest.expect(dart.equals(e1, i2), false); |
619 minitest.expect(dart.equals(e1, l1), false); | 627 minitest.expect(dart.equals(e1, l1), false); |
620 minitest.expect(dart.equals(e1, b1), false); | 628 minitest.expect(dart.equals(e1, b1), false); |
621 minitest.expect(s1 == e1, false); | 629 minitest.expect(s1 == e1, false); |
622 minitest.expect(s2 == e1, false); | 630 minitest.expect(s2 == e1, false); |
623 minitest.expect(dart.equals(i1, e1), false); | 631 minitest.expect(dart.equals(i1, e1), false); |
624 minitest.expect(dart.equals(i2, e1), false); | 632 minitest.expect(dart.equals(i2, e1), false); |
625 minitest.expect(dart.equals(l1, e1), false); | 633 minitest.expect(dart.equals(l1, e1), false); |
626 minitest.expect(dart.equals(b1, e1), false); | 634 minitest.expect(dart.equals(b1, e1), false); |
627 }, VoidToNull())); | 635 }, VoidToNull())); |
628 minitest.test('Equal string/other (static, non-null)', dart.fn(() => { | 636 minitest.test('Equal string/other (static, non-null)', dart.fn(() => { |
629 let e1 = "The"; | 637 let e1 = "The"; |
630 let s1 = "hello"; | 638 let s1 = "hello"; |
631 let s2 = ""; | 639 let s2 = ""; |
632 let i1 = 3; | 640 let i1 = 3; |
633 let i2 = 0; | 641 let i2 = 0; |
634 let l1 = core.List.new(3); | 642 let l1 = core.List.new(3); |
635 let b1 = new equality_test._Norman(); | 643 let b1 = new equality_test._Norman.new(); |
636 minitest.expect(e1 == s1, false); | 644 minitest.expect(e1 == s1, false); |
637 minitest.expect(e1 == s2, false); | 645 minitest.expect(e1 == s2, false); |
638 minitest.expect(dart.equals(e1, i1), false); | 646 minitest.expect(dart.equals(e1, i1), false); |
639 minitest.expect(dart.equals(e1, i2), false); | 647 minitest.expect(dart.equals(e1, i2), false); |
640 minitest.expect(dart.equals(e1, l1), false); | 648 minitest.expect(dart.equals(e1, l1), false); |
641 minitest.expect(dart.equals(e1, b1), false); | 649 minitest.expect(dart.equals(e1, b1), false); |
642 minitest.expect(s1 == e1, false); | 650 minitest.expect(s1 == e1, false); |
643 minitest.expect(s2 == e1, false); | 651 minitest.expect(s2 == e1, false); |
644 minitest.expect(dart.equals(i1, e1), false); | 652 minitest.expect(dart.equals(i1, e1), false); |
645 minitest.expect(dart.equals(i2, e1), false); | 653 minitest.expect(dart.equals(i2, e1), false); |
646 minitest.expect(dart.equals(l1, e1), false); | 654 minitest.expect(dart.equals(l1, e1), false); |
647 minitest.expect(dart.equals(b1, e1), false); | 655 minitest.expect(dart.equals(b1, e1), false); |
648 }, VoidToNull())); | 656 }, VoidToNull())); |
649 minitest.test('Equal string/other (dynamic, nullable)', dart.fn(() => { | 657 minitest.test('Equal string/other (dynamic, nullable)', dart.fn(() => { |
650 let e1 = equality_test.hideNull(core.String)("The"); | 658 let e1 = equality_test.hideNull(core.String)("The"); |
651 let d1 = equality_test.hideNull(core.String)("The"); | 659 let d1 = equality_test.hideNull(core.String)("The"); |
652 let s1 = equality_test.hideNull(core.String)("hello"); | 660 let s1 = equality_test.hideNull(core.String)("hello"); |
653 let s2 = equality_test.hideNull(core.String)(""); | 661 let s2 = equality_test.hideNull(core.String)(""); |
654 let i1 = equality_test.hideNull(core.int)(3); | 662 let i1 = equality_test.hideNull(core.int)(3); |
655 let i2 = equality_test.hideNull(core.int)(0); | 663 let i2 = equality_test.hideNull(core.int)(0); |
656 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); | 664 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); |
657 let b1 = equality_test.hideNull(equality_test._Norman)(new equality_test
._Norman()); | 665 let b1 = equality_test.hideNull(equality_test._Norman)(new equality_test
._Norman.new()); |
658 minitest.expect(dart.equals(e1, s1), false); | 666 minitest.expect(dart.equals(e1, s1), false); |
659 minitest.expect(dart.equals(e1, s2), false); | 667 minitest.expect(dart.equals(e1, s2), false); |
660 minitest.expect(dart.equals(e1, i1), false); | 668 minitest.expect(dart.equals(e1, i1), false); |
661 minitest.expect(dart.equals(e1, i2), false); | 669 minitest.expect(dart.equals(e1, i2), false); |
662 minitest.expect(dart.equals(e1, l1), false); | 670 minitest.expect(dart.equals(e1, l1), false); |
663 minitest.expect(dart.equals(e1, b1), false); | 671 minitest.expect(dart.equals(e1, b1), false); |
664 minitest.expect(dart.equals(s1, e1), false); | 672 minitest.expect(dart.equals(s1, e1), false); |
665 minitest.expect(dart.equals(s2, e1), false); | 673 minitest.expect(dart.equals(s2, e1), false); |
666 minitest.expect(dart.equals(i1, e1), false); | 674 minitest.expect(dart.equals(i1, e1), false); |
667 minitest.expect(dart.equals(i2, e1), false); | 675 minitest.expect(dart.equals(i2, e1), false); |
(...skipping 13 matching lines...) Expand all Loading... |
681 minitest.expect(dart.equals(b1, d1), false); | 689 minitest.expect(dart.equals(b1, d1), false); |
682 }, VoidToNull())); | 690 }, VoidToNull())); |
683 minitest.test('Equal string/other (dynamic, non-null)', dart.fn(() => { | 691 minitest.test('Equal string/other (dynamic, non-null)', dart.fn(() => { |
684 let e1 = "The"; | 692 let e1 = "The"; |
685 let d1 = "The"; | 693 let d1 = "The"; |
686 let s1 = "hello"; | 694 let s1 = "hello"; |
687 let s2 = ""; | 695 let s2 = ""; |
688 let i1 = 3; | 696 let i1 = 3; |
689 let i2 = 0; | 697 let i2 = 0; |
690 let l1 = core.List.new(3); | 698 let l1 = core.List.new(3); |
691 let b1 = new equality_test._Norman(); | 699 let b1 = new equality_test._Norman.new(); |
692 minitest.expect(e1 == s1, false); | 700 minitest.expect(e1 == s1, false); |
693 minitest.expect(e1 == s2, false); | 701 minitest.expect(e1 == s2, false); |
694 minitest.expect(dart.equals(e1, i1), false); | 702 minitest.expect(dart.equals(e1, i1), false); |
695 minitest.expect(dart.equals(e1, i2), false); | 703 minitest.expect(dart.equals(e1, i2), false); |
696 minitest.expect(dart.equals(e1, l1), false); | 704 minitest.expect(dart.equals(e1, l1), false); |
697 minitest.expect(dart.equals(e1, b1), false); | 705 minitest.expect(dart.equals(e1, b1), false); |
698 minitest.expect(s1 == e1, false); | 706 minitest.expect(s1 == e1, false); |
699 minitest.expect(s2 == e1, false); | 707 minitest.expect(s2 == e1, false); |
700 minitest.expect(dart.equals(i1, e1), false); | 708 minitest.expect(dart.equals(i1, e1), false); |
701 minitest.expect(dart.equals(i2, e1), false); | 709 minitest.expect(dart.equals(i2, e1), false); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 minitest.expect(dart.equals(o1, d2), false); | 778 minitest.expect(dart.equals(o1, d2), false); |
771 minitest.expect(dart.equals(o1, o2), false); | 779 minitest.expect(dart.equals(o1, o2), false); |
772 }, VoidToNull())); | 780 }, VoidToNull())); |
773 minitest.test('Equal int/other (static, nullable)', dart.fn(() => { | 781 minitest.test('Equal int/other (static, nullable)', dart.fn(() => { |
774 let e1 = equality_test.hideNull(core.int)(11); | 782 let e1 = equality_test.hideNull(core.int)(11); |
775 let s1 = equality_test.hideNull(core.String)("hello"); | 783 let s1 = equality_test.hideNull(core.String)("hello"); |
776 let s2 = equality_test.hideNull(core.String)(""); | 784 let s2 = equality_test.hideNull(core.String)(""); |
777 let i1 = equality_test.hideNull(core.int)(3); | 785 let i1 = equality_test.hideNull(core.int)(3); |
778 let i2 = equality_test.hideNull(core.int)(0); | 786 let i2 = equality_test.hideNull(core.int)(0); |
779 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); | 787 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); |
780 let b1 = equality_test.hideNull(equality_test.BluesBrother)(new equality
_test._Norman()); | 788 let b1 = equality_test.hideNull(equality_test.BluesBrother)(new equality
_test._Norman.new()); |
781 minitest.expect(dart.equals(e1, s1), false); | 789 minitest.expect(dart.equals(e1, s1), false); |
782 minitest.expect(dart.equals(e1, s2), false); | 790 minitest.expect(dart.equals(e1, s2), false); |
783 minitest.expect(e1 == i1, false); | 791 minitest.expect(e1 == i1, false); |
784 minitest.expect(e1 == i2, false); | 792 minitest.expect(e1 == i2, false); |
785 minitest.expect(dart.equals(e1, l1), false); | 793 minitest.expect(dart.equals(e1, l1), false); |
786 minitest.expect(dart.equals(e1, b1), false); | 794 minitest.expect(dart.equals(e1, b1), false); |
787 minitest.expect(dart.equals(s1, e1), false); | 795 minitest.expect(dart.equals(s1, e1), false); |
788 minitest.expect(dart.equals(s2, e1), false); | 796 minitest.expect(dart.equals(s2, e1), false); |
789 minitest.expect(i1 == e1, false); | 797 minitest.expect(i1 == e1, false); |
790 minitest.expect(i2 == e1, false); | 798 minitest.expect(i2 == e1, false); |
791 minitest.expect(dart.equals(l1, e1), false); | 799 minitest.expect(dart.equals(l1, e1), false); |
792 minitest.expect(dart.equals(b1, e1), false); | 800 minitest.expect(dart.equals(b1, e1), false); |
793 }, VoidToNull())); | 801 }, VoidToNull())); |
794 minitest.test('Equal int/other (static, non-null)', dart.fn(() => { | 802 minitest.test('Equal int/other (static, non-null)', dart.fn(() => { |
795 let e1 = 11; | 803 let e1 = 11; |
796 let s1 = "hello"; | 804 let s1 = "hello"; |
797 let s2 = ""; | 805 let s2 = ""; |
798 let i1 = 3; | 806 let i1 = 3; |
799 let i2 = 0; | 807 let i2 = 0; |
800 let l1 = core.List.new(3); | 808 let l1 = core.List.new(3); |
801 let b1 = new equality_test._Norman(); | 809 let b1 = new equality_test._Norman.new(); |
802 minitest.expect(dart.equals(e1, s1), false); | 810 minitest.expect(dart.equals(e1, s1), false); |
803 minitest.expect(dart.equals(e1, s2), false); | 811 minitest.expect(dart.equals(e1, s2), false); |
804 minitest.expect(e1 == i1, false); | 812 minitest.expect(e1 == i1, false); |
805 minitest.expect(e1 == i2, false); | 813 minitest.expect(e1 == i2, false); |
806 minitest.expect(dart.equals(e1, l1), false); | 814 minitest.expect(dart.equals(e1, l1), false); |
807 minitest.expect(dart.equals(e1, b1), false); | 815 minitest.expect(dart.equals(e1, b1), false); |
808 minitest.expect(dart.equals(s1, e1), false); | 816 minitest.expect(dart.equals(s1, e1), false); |
809 minitest.expect(dart.equals(s2, e1), false); | 817 minitest.expect(dart.equals(s2, e1), false); |
810 minitest.expect(i1 == e1, false); | 818 minitest.expect(i1 == e1, false); |
811 minitest.expect(i2 == e1, false); | 819 minitest.expect(i2 == e1, false); |
812 minitest.expect(dart.equals(l1, e1), false); | 820 minitest.expect(dart.equals(l1, e1), false); |
813 minitest.expect(dart.equals(b1, e1), false); | 821 minitest.expect(dart.equals(b1, e1), false); |
814 }, VoidToNull())); | 822 }, VoidToNull())); |
815 minitest.test('Equal int/other (dynamic, nullable)', dart.fn(() => { | 823 minitest.test('Equal int/other (dynamic, nullable)', dart.fn(() => { |
816 let e1 = equality_test.hideNull(core.int)(11); | 824 let e1 = equality_test.hideNull(core.int)(11); |
817 let d1 = equality_test.hideNull(core.int)(11); | 825 let d1 = equality_test.hideNull(core.int)(11); |
818 let s1 = equality_test.hideNull(core.String)("hello"); | 826 let s1 = equality_test.hideNull(core.String)("hello"); |
819 let s2 = equality_test.hideNull(core.String)(""); | 827 let s2 = equality_test.hideNull(core.String)(""); |
820 let i1 = equality_test.hideNull(core.int)(3); | 828 let i1 = equality_test.hideNull(core.int)(3); |
821 let i2 = equality_test.hideNull(core.int)(0); | 829 let i2 = equality_test.hideNull(core.int)(0); |
822 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); | 830 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); |
823 let b1 = equality_test.hideNull(equality_test._Norman)(new equality_test
._Norman()); | 831 let b1 = equality_test.hideNull(equality_test._Norman)(new equality_test
._Norman.new()); |
824 minitest.expect(dart.equals(e1, s1), false); | 832 minitest.expect(dart.equals(e1, s1), false); |
825 minitest.expect(dart.equals(e1, s2), false); | 833 minitest.expect(dart.equals(e1, s2), false); |
826 minitest.expect(dart.equals(e1, i1), false); | 834 minitest.expect(dart.equals(e1, i1), false); |
827 minitest.expect(dart.equals(e1, i2), false); | 835 minitest.expect(dart.equals(e1, i2), false); |
828 minitest.expect(dart.equals(e1, l1), false); | 836 minitest.expect(dart.equals(e1, l1), false); |
829 minitest.expect(dart.equals(e1, b1), false); | 837 minitest.expect(dart.equals(e1, b1), false); |
830 minitest.expect(dart.equals(s1, e1), false); | 838 minitest.expect(dart.equals(s1, e1), false); |
831 minitest.expect(dart.equals(s2, e1), false); | 839 minitest.expect(dart.equals(s2, e1), false); |
832 minitest.expect(dart.equals(i1, e1), false); | 840 minitest.expect(dart.equals(i1, e1), false); |
833 minitest.expect(dart.equals(i2, e1), false); | 841 minitest.expect(dart.equals(i2, e1), false); |
(...skipping 13 matching lines...) Expand all Loading... |
847 minitest.expect(dart.equals(b1, d1), false); | 855 minitest.expect(dart.equals(b1, d1), false); |
848 }, VoidToNull())); | 856 }, VoidToNull())); |
849 minitest.test('Equal int/other (dynamic, non-null)', dart.fn(() => { | 857 minitest.test('Equal int/other (dynamic, non-null)', dart.fn(() => { |
850 let e1 = 11; | 858 let e1 = 11; |
851 let d1 = 11; | 859 let d1 = 11; |
852 let s1 = "hello"; | 860 let s1 = "hello"; |
853 let s2 = ""; | 861 let s2 = ""; |
854 let i1 = 3; | 862 let i1 = 3; |
855 let i2 = 0; | 863 let i2 = 0; |
856 let l1 = core.List.new(3); | 864 let l1 = core.List.new(3); |
857 let b1 = new equality_test._Norman(); | 865 let b1 = new equality_test._Norman.new(); |
858 minitest.expect(dart.equals(e1, s1), false); | 866 minitest.expect(dart.equals(e1, s1), false); |
859 minitest.expect(dart.equals(e1, s2), false); | 867 minitest.expect(dart.equals(e1, s2), false); |
860 minitest.expect(e1 == i1, false); | 868 minitest.expect(e1 == i1, false); |
861 minitest.expect(e1 == i2, false); | 869 minitest.expect(e1 == i2, false); |
862 minitest.expect(dart.equals(e1, l1), false); | 870 minitest.expect(dart.equals(e1, l1), false); |
863 minitest.expect(dart.equals(e1, b1), false); | 871 minitest.expect(dart.equals(e1, b1), false); |
864 minitest.expect(dart.equals(s1, e1), false); | 872 minitest.expect(dart.equals(s1, e1), false); |
865 minitest.expect(dart.equals(s2, e1), false); | 873 minitest.expect(dart.equals(s2, e1), false); |
866 minitest.expect(i1 == e1, false); | 874 minitest.expect(i1 == e1, false); |
867 minitest.expect(i2 == e1, false); | 875 minitest.expect(i2 == e1, false); |
868 minitest.expect(dart.equals(l1, e1), false); | 876 minitest.expect(dart.equals(l1, e1), false); |
869 minitest.expect(dart.equals(b1, e1), false); | 877 minitest.expect(dart.equals(b1, e1), false); |
870 minitest.expect(dart.equals(d1, s1), false); | 878 minitest.expect(dart.equals(d1, s1), false); |
871 minitest.expect(dart.equals(d1, s2), false); | 879 minitest.expect(dart.equals(d1, s2), false); |
872 minitest.expect(dart.equals(d1, i1), false); | 880 minitest.expect(dart.equals(d1, i1), false); |
873 minitest.expect(dart.equals(d1, i2), false); | 881 minitest.expect(dart.equals(d1, i2), false); |
874 minitest.expect(dart.equals(d1, l1), false); | 882 minitest.expect(dart.equals(d1, l1), false); |
875 minitest.expect(dart.equals(d1, b1), false); | 883 minitest.expect(dart.equals(d1, b1), false); |
876 minitest.expect(dart.equals(s1, d1), false); | 884 minitest.expect(dart.equals(s1, d1), false); |
877 minitest.expect(dart.equals(s2, d1), false); | 885 minitest.expect(dart.equals(s2, d1), false); |
878 minitest.expect(dart.equals(i1, d1), false); | 886 minitest.expect(dart.equals(i1, d1), false); |
879 minitest.expect(dart.equals(i2, d1), false); | 887 minitest.expect(dart.equals(i2, d1), false); |
880 minitest.expect(dart.equals(l1, d1), false); | 888 minitest.expect(dart.equals(l1, d1), false); |
881 minitest.expect(dart.equals(b1, d1), false); | 889 minitest.expect(dart.equals(b1, d1), false); |
882 }, VoidToNull())); | 890 }, VoidToNull())); |
883 }, VoidToNull())); | 891 }, VoidToNull())); |
884 minitest.group('Object equality', dart.fn(() => { | 892 minitest.group('Object equality', dart.fn(() => { |
885 minitest.test('Equal object/object (nullable)', dart.fn(() => { | 893 minitest.test('Equal object/object (nullable)', dart.fn(() => { |
886 let e1 = equality_test.hideNull(equality_test._Jake)(new equality_test._
Jake()); | 894 let e1 = equality_test.hideNull(equality_test._Jake)(new equality_test._
Jake.new()); |
887 let e2 = equality_test.hideNull(equality_test._Elwood)(new equality_test
._Elwood()); | 895 let e2 = equality_test.hideNull(equality_test._Elwood)(new equality_test
._Elwood.new()); |
888 let d1 = equality_test.hideNull(equality_test._Jake)(e1); | 896 let d1 = equality_test.hideNull(equality_test._Jake)(e1); |
889 let d2 = equality_test.hideNull(equality_test._Elwood)(new equality_test
._Elwood()); | 897 let d2 = equality_test.hideNull(equality_test._Elwood)(new equality_test
._Elwood.new()); |
890 let o1 = equality_test.hideNull(core.Object)(e1); | 898 let o1 = equality_test.hideNull(core.Object)(e1); |
891 let o2 = equality_test.hideNull(core.Object)(new equality_test._Elwood()
); | 899 let o2 = equality_test.hideNull(core.Object)(new equality_test._Elwood.n
ew()); |
892 minitest.expect(dart.equals(e1, e1), true); | 900 minitest.expect(dart.equals(e1, e1), true); |
893 minitest.expect(dart.equals(e1, d1), true); | 901 minitest.expect(dart.equals(e1, d1), true); |
894 minitest.expect(dart.equals(e1, o1), true); | 902 minitest.expect(dart.equals(e1, o1), true); |
895 minitest.expect(dart.equals(e1, e2), false); | 903 minitest.expect(dart.equals(e1, e2), false); |
896 minitest.expect(dart.equals(e1, o2), false); | 904 minitest.expect(dart.equals(e1, o2), false); |
897 minitest.expect(dart.equals(e1, d2), false); | 905 minitest.expect(dart.equals(e1, d2), false); |
898 minitest.expect(dart.equals(e1, e2), false); | 906 minitest.expect(dart.equals(e1, e2), false); |
899 minitest.expect(dart.equals(d1, e1), true); | 907 minitest.expect(dart.equals(d1, e1), true); |
900 minitest.expect(dart.equals(d1, d1), true); | 908 minitest.expect(dart.equals(d1, d1), true); |
901 minitest.expect(dart.equals(d1, o1), true); | 909 minitest.expect(dart.equals(d1, o1), true); |
902 minitest.expect(dart.equals(d1, e2), false); | 910 minitest.expect(dart.equals(d1, e2), false); |
903 minitest.expect(dart.equals(d1, d2), false); | 911 minitest.expect(dart.equals(d1, d2), false); |
904 minitest.expect(dart.equals(d1, o2), false); | 912 minitest.expect(dart.equals(d1, o2), false); |
905 minitest.expect(dart.equals(o1, e1), true); | 913 minitest.expect(dart.equals(o1, e1), true); |
906 minitest.expect(dart.equals(o1, d1), true); | 914 minitest.expect(dart.equals(o1, d1), true); |
907 minitest.expect(dart.equals(o1, o1), true); | 915 minitest.expect(dart.equals(o1, o1), true); |
908 minitest.expect(dart.equals(o1, e2), false); | 916 minitest.expect(dart.equals(o1, e2), false); |
909 minitest.expect(dart.equals(o1, d2), false); | 917 minitest.expect(dart.equals(o1, d2), false); |
910 minitest.expect(dart.equals(o1, o2), false); | 918 minitest.expect(dart.equals(o1, o2), false); |
911 }, VoidToNull())); | 919 }, VoidToNull())); |
912 minitest.test('Equal object/object (non-null)', dart.fn(() => { | 920 minitest.test('Equal object/object (non-null)', dart.fn(() => { |
913 let e1 = new equality_test._Jake(); | 921 let e1 = new equality_test._Jake.new(); |
914 let e2 = new equality_test._Elwood(); | 922 let e2 = new equality_test._Elwood.new(); |
915 let d1 = e1; | 923 let d1 = e1; |
916 let d2 = new equality_test._Elwood(); | 924 let d2 = new equality_test._Elwood.new(); |
917 let o1 = e1; | 925 let o1 = e1; |
918 let o2 = new equality_test._Elwood(); | 926 let o2 = new equality_test._Elwood.new(); |
919 minitest.expect(dart.equals(e1, e1), true); | 927 minitest.expect(dart.equals(e1, e1), true); |
920 minitest.expect(dart.equals(e1, d1), true); | 928 minitest.expect(dart.equals(e1, d1), true); |
921 minitest.expect(dart.equals(e1, o1), true); | 929 minitest.expect(dart.equals(e1, o1), true); |
922 minitest.expect(dart.equals(e1, e2), false); | 930 minitest.expect(dart.equals(e1, e2), false); |
923 minitest.expect(dart.equals(e1, o2), false); | 931 minitest.expect(dart.equals(e1, o2), false); |
924 minitest.expect(dart.equals(e1, d2), false); | 932 minitest.expect(dart.equals(e1, d2), false); |
925 minitest.expect(dart.equals(e1, e2), false); | 933 minitest.expect(dart.equals(e1, e2), false); |
926 minitest.expect(dart.equals(d1, e1), true); | 934 minitest.expect(dart.equals(d1, e1), true); |
927 minitest.expect(dart.equals(d1, d1), true); | 935 minitest.expect(dart.equals(d1, d1), true); |
928 minitest.expect(dart.equals(d1, o1), true); | 936 minitest.expect(dart.equals(d1, o1), true); |
929 minitest.expect(dart.equals(d1, e2), false); | 937 minitest.expect(dart.equals(d1, e2), false); |
930 minitest.expect(dart.equals(d1, d2), false); | 938 minitest.expect(dart.equals(d1, d2), false); |
931 minitest.expect(dart.equals(d1, o2), false); | 939 minitest.expect(dart.equals(d1, o2), false); |
932 minitest.expect(dart.equals(o1, e1), true); | 940 minitest.expect(dart.equals(o1, e1), true); |
933 minitest.expect(dart.equals(o1, d1), true); | 941 minitest.expect(dart.equals(o1, d1), true); |
934 minitest.expect(dart.equals(o1, o1), true); | 942 minitest.expect(dart.equals(o1, o1), true); |
935 minitest.expect(dart.equals(o1, e2), false); | 943 minitest.expect(dart.equals(o1, e2), false); |
936 minitest.expect(dart.equals(o1, d2), false); | 944 minitest.expect(dart.equals(o1, d2), false); |
937 minitest.expect(dart.equals(o1, o2), false); | 945 minitest.expect(dart.equals(o1, o2), false); |
938 }, VoidToNull())); | 946 }, VoidToNull())); |
939 minitest.test('Equal object/other (static, nullable)', dart.fn(() => { | 947 minitest.test('Equal object/other (static, nullable)', dart.fn(() => { |
940 let e1 = equality_test.hideNull(equality_test._Jake)(new equality_test._
Jake()); | 948 let e1 = equality_test.hideNull(equality_test._Jake)(new equality_test._
Jake.new()); |
941 let s1 = equality_test.hideNull(core.String)("hello"); | 949 let s1 = equality_test.hideNull(core.String)("hello"); |
942 let s2 = equality_test.hideNull(core.String)(""); | 950 let s2 = equality_test.hideNull(core.String)(""); |
943 let i1 = equality_test.hideNull(core.int)(3); | 951 let i1 = equality_test.hideNull(core.int)(3); |
944 let i2 = equality_test.hideNull(core.int)(0); | 952 let i2 = equality_test.hideNull(core.int)(0); |
945 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); | 953 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); |
946 let b1 = equality_test.hideNull(equality_test.BluesBrother)(new equality
_test._Norman()); | 954 let b1 = equality_test.hideNull(equality_test.BluesBrother)(new equality
_test._Norman.new()); |
947 minitest.expect(dart.equals(e1, s1), false); | 955 minitest.expect(dart.equals(e1, s1), false); |
948 minitest.expect(dart.equals(e1, s2), false); | 956 minitest.expect(dart.equals(e1, s2), false); |
949 minitest.expect(dart.equals(e1, i1), false); | 957 minitest.expect(dart.equals(e1, i1), false); |
950 minitest.expect(dart.equals(e1, i2), false); | 958 minitest.expect(dart.equals(e1, i2), false); |
951 minitest.expect(dart.equals(e1, l1), false); | 959 minitest.expect(dart.equals(e1, l1), false); |
952 minitest.expect(dart.equals(e1, b1), false); | 960 minitest.expect(dart.equals(e1, b1), false); |
953 minitest.expect(dart.equals(s1, e1), false); | 961 minitest.expect(dart.equals(s1, e1), false); |
954 minitest.expect(dart.equals(s2, e1), false); | 962 minitest.expect(dart.equals(s2, e1), false); |
955 minitest.expect(dart.equals(i1, e1), false); | 963 minitest.expect(dart.equals(i1, e1), false); |
956 minitest.expect(dart.equals(i2, e1), false); | 964 minitest.expect(dart.equals(i2, e1), false); |
957 minitest.expect(dart.equals(l1, e1), false); | 965 minitest.expect(dart.equals(l1, e1), false); |
958 minitest.expect(dart.equals(b1, e1), false); | 966 minitest.expect(dart.equals(b1, e1), false); |
959 }, VoidToNull())); | 967 }, VoidToNull())); |
960 minitest.test('Equal object/other (static, non-null)', dart.fn(() => { | 968 minitest.test('Equal object/other (static, non-null)', dart.fn(() => { |
961 let e1 = new equality_test._Jake(); | 969 let e1 = new equality_test._Jake.new(); |
962 let s1 = "hello"; | 970 let s1 = "hello"; |
963 let s2 = ""; | 971 let s2 = ""; |
964 let i1 = 3; | 972 let i1 = 3; |
965 let i2 = 0; | 973 let i2 = 0; |
966 let l1 = core.List.new(3); | 974 let l1 = core.List.new(3); |
967 let b1 = new equality_test._Norman(); | 975 let b1 = new equality_test._Norman.new(); |
968 minitest.expect(dart.equals(e1, s1), false); | 976 minitest.expect(dart.equals(e1, s1), false); |
969 minitest.expect(dart.equals(e1, s2), false); | 977 minitest.expect(dart.equals(e1, s2), false); |
970 minitest.expect(dart.equals(e1, i1), false); | 978 minitest.expect(dart.equals(e1, i1), false); |
971 minitest.expect(dart.equals(e1, i2), false); | 979 minitest.expect(dart.equals(e1, i2), false); |
972 minitest.expect(dart.equals(e1, l1), false); | 980 minitest.expect(dart.equals(e1, l1), false); |
973 minitest.expect(dart.equals(e1, b1), false); | 981 minitest.expect(dart.equals(e1, b1), false); |
974 minitest.expect(dart.equals(s1, e1), false); | 982 minitest.expect(dart.equals(s1, e1), false); |
975 minitest.expect(dart.equals(s2, e1), false); | 983 minitest.expect(dart.equals(s2, e1), false); |
976 minitest.expect(dart.equals(i1, e1), false); | 984 minitest.expect(dart.equals(i1, e1), false); |
977 minitest.expect(dart.equals(i2, e1), false); | 985 minitest.expect(dart.equals(i2, e1), false); |
978 minitest.expect(dart.equals(l1, e1), false); | 986 minitest.expect(dart.equals(l1, e1), false); |
979 minitest.expect(dart.equals(b1, e1), false); | 987 minitest.expect(dart.equals(b1, e1), false); |
980 }, VoidToNull())); | 988 }, VoidToNull())); |
981 minitest.test('Equal object/other (dynamic, nullable)', dart.fn(() => { | 989 minitest.test('Equal object/other (dynamic, nullable)', dart.fn(() => { |
982 let e1 = equality_test.hideNull(equality_test._Jake)(new equality_test._
Jake()); | 990 let e1 = equality_test.hideNull(equality_test._Jake)(new equality_test._
Jake.new()); |
983 let d1 = equality_test.hideNull(equality_test._Jake)(new equality_test._
Jake()); | 991 let d1 = equality_test.hideNull(equality_test._Jake)(new equality_test._
Jake.new()); |
984 let s1 = equality_test.hideNull(core.String)("hello"); | 992 let s1 = equality_test.hideNull(core.String)("hello"); |
985 let s2 = equality_test.hideNull(core.String)(""); | 993 let s2 = equality_test.hideNull(core.String)(""); |
986 let i1 = equality_test.hideNull(core.int)(3); | 994 let i1 = equality_test.hideNull(core.int)(3); |
987 let i2 = equality_test.hideNull(core.int)(0); | 995 let i2 = equality_test.hideNull(core.int)(0); |
988 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); | 996 let l1 = equality_test.hideNull(core.List)(core.List.new(3)); |
989 let b1 = equality_test.hideNull(equality_test._Norman)(new equality_test
._Norman()); | 997 let b1 = equality_test.hideNull(equality_test._Norman)(new equality_test
._Norman.new()); |
990 minitest.expect(dart.equals(e1, s1), false); | 998 minitest.expect(dart.equals(e1, s1), false); |
991 minitest.expect(dart.equals(e1, s2), false); | 999 minitest.expect(dart.equals(e1, s2), false); |
992 minitest.expect(dart.equals(e1, i1), false); | 1000 minitest.expect(dart.equals(e1, i1), false); |
993 minitest.expect(dart.equals(e1, i2), false); | 1001 minitest.expect(dart.equals(e1, i2), false); |
994 minitest.expect(dart.equals(e1, l1), false); | 1002 minitest.expect(dart.equals(e1, l1), false); |
995 minitest.expect(dart.equals(e1, b1), false); | 1003 minitest.expect(dart.equals(e1, b1), false); |
996 minitest.expect(dart.equals(s1, e1), false); | 1004 minitest.expect(dart.equals(s1, e1), false); |
997 minitest.expect(dart.equals(s2, e1), false); | 1005 minitest.expect(dart.equals(s2, e1), false); |
998 minitest.expect(dart.equals(i1, e1), false); | 1006 minitest.expect(dart.equals(i1, e1), false); |
999 minitest.expect(dart.equals(i2, e1), false); | 1007 minitest.expect(dart.equals(i2, e1), false); |
1000 minitest.expect(dart.equals(l1, e1), false); | 1008 minitest.expect(dart.equals(l1, e1), false); |
1001 minitest.expect(dart.equals(b1, e1), false); | 1009 minitest.expect(dart.equals(b1, e1), false); |
1002 minitest.expect(dart.equals(d1, s1), false); | 1010 minitest.expect(dart.equals(d1, s1), false); |
1003 minitest.expect(dart.equals(d1, s2), false); | 1011 minitest.expect(dart.equals(d1, s2), false); |
1004 minitest.expect(dart.equals(d1, i1), false); | 1012 minitest.expect(dart.equals(d1, i1), false); |
1005 minitest.expect(dart.equals(d1, i2), false); | 1013 minitest.expect(dart.equals(d1, i2), false); |
1006 minitest.expect(dart.equals(d1, l1), false); | 1014 minitest.expect(dart.equals(d1, l1), false); |
1007 minitest.expect(dart.equals(d1, b1), false); | 1015 minitest.expect(dart.equals(d1, b1), false); |
1008 minitest.expect(dart.equals(s1, d1), false); | 1016 minitest.expect(dart.equals(s1, d1), false); |
1009 minitest.expect(dart.equals(s2, d1), false); | 1017 minitest.expect(dart.equals(s2, d1), false); |
1010 minitest.expect(dart.equals(i1, d1), false); | 1018 minitest.expect(dart.equals(i1, d1), false); |
1011 minitest.expect(dart.equals(i2, d1), false); | 1019 minitest.expect(dart.equals(i2, d1), false); |
1012 minitest.expect(dart.equals(l1, d1), false); | 1020 minitest.expect(dart.equals(l1, d1), false); |
1013 minitest.expect(dart.equals(b1, d1), false); | 1021 minitest.expect(dart.equals(b1, d1), false); |
1014 }, VoidToNull())); | 1022 }, VoidToNull())); |
1015 minitest.test('Equal object/other (dynamic, non-null)', dart.fn(() => { | 1023 minitest.test('Equal object/other (dynamic, non-null)', dart.fn(() => { |
1016 let e1 = new equality_test._Jake(); | 1024 let e1 = new equality_test._Jake.new(); |
1017 let d1 = new equality_test._Jake(); | 1025 let d1 = new equality_test._Jake.new(); |
1018 let s1 = "hello"; | 1026 let s1 = "hello"; |
1019 let s2 = ""; | 1027 let s2 = ""; |
1020 let i1 = 3; | 1028 let i1 = 3; |
1021 let i2 = 0; | 1029 let i2 = 0; |
1022 let l1 = core.List.new(3); | 1030 let l1 = core.List.new(3); |
1023 let b1 = new equality_test._Norman(); | 1031 let b1 = new equality_test._Norman.new(); |
1024 minitest.expect(dart.equals(e1, s1), false); | 1032 minitest.expect(dart.equals(e1, s1), false); |
1025 minitest.expect(dart.equals(e1, s2), false); | 1033 minitest.expect(dart.equals(e1, s2), false); |
1026 minitest.expect(dart.equals(e1, i1), false); | 1034 minitest.expect(dart.equals(e1, i1), false); |
1027 minitest.expect(dart.equals(e1, i2), false); | 1035 minitest.expect(dart.equals(e1, i2), false); |
1028 minitest.expect(dart.equals(e1, l1), false); | 1036 minitest.expect(dart.equals(e1, l1), false); |
1029 minitest.expect(dart.equals(e1, b1), false); | 1037 minitest.expect(dart.equals(e1, b1), false); |
1030 minitest.expect(dart.equals(s1, e1), false); | 1038 minitest.expect(dart.equals(s1, e1), false); |
1031 minitest.expect(dart.equals(s2, e1), false); | 1039 minitest.expect(dart.equals(s2, e1), false); |
1032 minitest.expect(dart.equals(i1, e1), false); | 1040 minitest.expect(dart.equals(i1, e1), false); |
1033 minitest.expect(dart.equals(i2, e1), false); | 1041 minitest.expect(dart.equals(i2, e1), false); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1132 }; | 1140 }; |
1133 dart.fn(equality_test.main, VoidTodynamic()); | 1141 dart.fn(equality_test.main, VoidTodynamic()); |
1134 dart.trackLibraries("equality_test", { | 1142 dart.trackLibraries("equality_test", { |
1135 "equality_test.dart": equality_test | 1143 "equality_test.dart": equality_test |
1136 }, null); | 1144 }, null); |
1137 // Exports: | 1145 // Exports: |
1138 return { | 1146 return { |
1139 equality_test: equality_test | 1147 equality_test: equality_test |
1140 }; | 1148 }; |
1141 }); | 1149 }); |
OLD | NEW |