Lines Matching refs:assertEquals
32 assertEquals(0, ToUInt32(0), "0");
33 assertEquals(0, ToUInt32(-0), "-0");
34 assertEquals(0, ToUInt32(Infinity), "Infinity");
35 assertEquals(0, ToUInt32(-Infinity), "-Infinity");
36 assertEquals(0, ToUInt32(NaN), "NaN");
38 assertEquals(0, ToUInt32(Number.MIN_VALUE), "MIN");
39 assertEquals(0, ToUInt32(-Number.MIN_VALUE), "-MIN");
40 assertEquals(0, ToUInt32(0.1), "0.1");
41 assertEquals(0, ToUInt32(-0.1), "-0.1");
42 assertEquals(1, ToUInt32(1), "1");
43 assertEquals(1, ToUInt32(1.1), "1.1");
45 assertEquals(4294967295, ToUInt32(-1), "-1");
46 assertEquals(4294967295, ToUInt32(-1.1), "-1.1");
48 assertEquals(2147483647, ToUInt32(2147483647), "2147483647");
49 assertEquals(2147483648, ToUInt32(2147483648), "2147483648");
50 assertEquals(2147483649, ToUInt32(2147483649), "2147483649");
52 assertEquals(4294967295, ToUInt32(4294967295), "4294967295");
53 assertEquals(0, ToUInt32(4294967296), "4294967296");
54 assertEquals(1, ToUInt32(4294967297), "4294967297");
56 assertEquals(2147483649, ToUInt32(-2147483647), "-2147483647");
57 assertEquals(2147483648, ToUInt32(-2147483648), "-2147483648");
58 assertEquals(2147483647, ToUInt32(-2147483649), "-2147483649");
60 assertEquals(1, ToUInt32(-4294967295), "-4294967295");
61 assertEquals(0, ToUInt32(-4294967296), "-4294967296");
62 assertEquals(4294967295, ToUInt32(-4294967297), "-4294967297");
64 assertEquals(2147483647, ToUInt32('2147483647'), "'2147483647'");
65 assertEquals(2147483648, ToUInt32('2147483648'), "'2147483648'");
66 assertEquals(2147483649, ToUInt32('2147483649'), "'2147483649'");
68 assertEquals(4294967295, ToUInt32('4294967295'), "'4294967295'");
69 assertEquals(0, ToUInt32('4294967296'), "'4294967296'");
70 assertEquals(1, ToUInt32('4294967297'), "'4294967297'");