Lines Matching refs:fromInt
95 assure(Enum1.fromInt(-101) == null); in testEnum1()
96 assure(Enum1.fromInt(-100) == Enum1.VALUE1); in testEnum1()
97 assure(Enum1.fromInt(-99) == null); in testEnum1()
98 assure(Enum1.fromInt(0) == null); in testEnum1()
99 assure(Enum1.fromInt(99) == null); in testEnum1()
100 assure(Enum1.fromInt(100) == Enum1.VALUE2); in testEnum1()
101 assure(Enum1.fromInt(101) == null); in testEnum1()
114 assure(Enum2.fromInt(-1) == null); in testEnum2()
115 assure(Enum2.fromInt(0) == Enum2.VALUE0); in testEnum2()
116 assure(Enum2.fromInt(1) == Enum2.VALUE1); in testEnum2()
117 assure(Enum2.fromInt(2) == Enum2.VALUE2); in testEnum2()
118 assure(Enum2.fromInt(3) == null); in testEnum2()
119 assure(Enum2.fromInt(4) == Enum2.VALUE4); in testEnum2()
120 assure(Enum2.fromInt(5) == null); in testEnum2()