Lines Matching refs:shouldThrow
42 shouldThrow("(1234.567).toPrecision(0)");
43 shouldThrow("(1234.567).toPrecision(null)"); // just like 0
44 shouldThrow("(1234.567).toPrecision(false)"); // just like 0
45 shouldThrow("(1234.567).toPrecision('foo')"); // just like 0
46 shouldThrow("(1234.567).toPrecision(-1)");
55 shouldThrow("(1234.567).toPrecision(22)");
56 shouldThrow("(1234.567).toPrecision(100)");
57 shouldThrow("(1234.567).toPrecision(101)");
59 shouldThrow("(1234.567).toPrecision(posInf)");
60 shouldThrow("(1234.567).toPrecision(negInf)");
61 shouldThrow("(1234.567).toPrecision(nan)"); // nan is treated like 0