Lines Matching refs:expect
50 expect(a.cmp(b)).toEqual(0);
51 expect(b.cmp(a)).toEqual(0);
53 expect(a.cmp(b)).toEqual(1);
54 expect(b.cmp(a)).toEqual(-1);
56 expect(a.cmp(b)).toEqual(-1);
57 expect(b.cmp(a)).toEqual(1);
60 expect(a.cmp(b)).toEqual(1);
61 expect(b.cmp(a)).toEqual(-1);
63 expect(a.zero()).toEqual(false);
64 expect(a.msb()).toEqual(false);
65 expect(a.lsb()).toEqual(false);
68 expect(a.zero()).toEqual(true);
70 expect(a.zero()).toEqual(false);
71 expect(a.msb()).toEqual(true);
73 expect(a.lsb()).toEqual(true);
82 expect(a.lo).toEqual(1);
83 expect(a.hi).toEqual(0);
86 expect(orig.lo).toEqual(1); // original unmodified.
87 expect(orig.hi).toEqual(0);
88 expect(a.lo).toEqual(2);
89 expect(a.hi).toEqual(0);
91 expect(a.lo).toEqual(4);
92 expect(a.hi).toEqual(0);
96 expect(a.lo).toEqual(0x80000000);
97 expect(a.hi).toEqual(0);
99 expect(a.lo).toEqual(0);
100 expect(a.hi).toEqual(1);
102 expect(a.lo).toEqual(0);
103 expect(a.hi).toEqual(2);
106 expect(a.lo).toEqual(0x80000000);
107 expect(a.hi).toEqual(0);
109 expect(a.lo).toEqual(0x40000000);
110 expect(a.hi).toEqual(0);
124 expect(a.lo).toEqual(0x89abcdef); // originals unmodified.
125 expect(a.hi).toEqual(0x01234567);
126 expect(b.lo).toEqual(0xff52ab91);
127 expect(b.hi).toEqual(0x92fa2123);
128 expect(c.lo).toEqual(0x88fe7980);
129 expect(c.hi).toEqual(0x941d668b);
137 expect(c.lo).toEqual(5);
138 expect(c.hi).toEqual(0);
172 expect(c.hi).toEqual(a.hi);
173 expect(c.lo).toEqual(a.lo);
203 expect(c.lo).toEqual(cLow);
204 expect(c.hi).toEqual(cHigh);
233 expect(prod.lo).toEqual(testData[i][3]);
234 expect(prod.hi).toEqual(testData[i][4]);
276 expect(quotient.lo).toEqual(testData[i][3]);
277 expect(quotient.hi).toEqual(testData[i][4]);
278 expect(remainder.lo).toEqual(testData[i][5]);
313 expect(roundtrip.lo).toEqual(a.lo);
314 expect(roundtrip.hi).toEqual(a.hi);
315 expect(a.toString()).toEqual(testData[i][2]);
351 expect(roundtrip).toEqual(testStrings[i]);