Lines Matching refs:expectEquals

122     expectEquals(0, signBoolean(false));  in testSignBoolean()
123 expectEquals(1, signBoolean(true)); in testSignBoolean()
127 expectEquals(-1, signByte((byte)Byte.MIN_VALUE)); in testSignByte()
128 expectEquals(-1, signByte((byte)-64)); in testSignByte()
129 expectEquals(-1, signByte((byte)-1)); in testSignByte()
130 expectEquals(0, signByte((byte)0)); in testSignByte()
131 expectEquals(1, signByte((byte)1)); in testSignByte()
132 expectEquals(1, signByte((byte)64)); in testSignByte()
133 expectEquals(1, signByte((byte)Byte.MAX_VALUE)); in testSignByte()
137 expectEquals(-1, signShort((short)Short.MIN_VALUE)); in testSignShort()
138 expectEquals(-1, signShort((short)-12345)); in testSignShort()
139 expectEquals(-1, signShort((short)-1)); in testSignShort()
140 expectEquals(0, signShort((short)0)); in testSignShort()
141 expectEquals(1, signShort((short)1)); in testSignShort()
142 expectEquals(1, signShort((short)12345)); in testSignShort()
143 expectEquals(1, signShort((short)Short.MAX_VALUE)); in testSignShort()
147 expectEquals(0, signChar((char)0)); in testSignChar()
148 expectEquals(1, signChar((char)1)); in testSignChar()
149 expectEquals(1, signChar((char)12345)); in testSignChar()
150 expectEquals(1, signChar((char)Character.MAX_VALUE)); in testSignChar()
154 expectEquals(-1, signInt(Integer.MIN_VALUE)); in testSignInt()
155 expectEquals(-1, signInt(-12345)); in testSignInt()
156 expectEquals(-1, signInt(-1)); in testSignInt()
157 expectEquals(0, signInt(0)); in testSignInt()
158 expectEquals(1, signInt(1)); in testSignInt()
159 expectEquals(1, signInt(12345)); in testSignInt()
160 expectEquals(1, signInt(Integer.MAX_VALUE)); in testSignInt()
166 expectEquals(expected, signInt(i)); in testSignInt()
171 expectEquals(-1, signLong(Long.MIN_VALUE)); in testSignLong()
172 expectEquals(-1, signLong(-12345L)); in testSignLong()
173 expectEquals(-1, signLong(-1L)); in testSignLong()
174 expectEquals(0, signLong(0L)); in testSignLong()
175 expectEquals(1, signLong(1L)); in testSignLong()
176 expectEquals(1, signLong(12345L)); in testSignLong()
177 expectEquals(1, signLong(Long.MAX_VALUE)); in testSignLong()
179 expectEquals(-1, signLong(0x800000007FFFFFFFL)); in testSignLong()
180 expectEquals(-1, signLong(0x80000000FFFFFFFFL)); in testSignLong()
181 expectEquals(1, signLong(0x000000007FFFFFFFL)); in testSignLong()
182 expectEquals(1, signLong(0x00000000FFFFFFFFL)); in testSignLong()
183 expectEquals(1, signLong(0x7FFFFFFF7FFFFFFFL)); in testSignLong()
184 expectEquals(1, signLong(0x7FFFFFFFFFFFFFFFL)); in testSignLong()
190 expectEquals(expected, signLong(i)); in testSignLong()
194 expectEquals(-1, signLong(i)); in testSignLong()
198 expectEquals(1, signLong(i)); in testSignLong()
214 private static void expectEquals(int expected, int result) { in expectEquals() method in TestSignum