Lines Matching refs:assertTrue
41 static public void assertTrue(boolean condition) { in assertTrue() method in Main
205 assertTrue(FP16.greater(FP16.POSITIVE_INFINITY, FP16.NEGATIVE_INFINITY)); in testGreater()
206 assertTrue(FP16.greater(FP16.POSITIVE_INFINITY, FP16.MAX_VALUE)); in testGreater()
209 assertTrue(FP16.greater(FP16.LOWEST_VALUE, FP16.NEGATIVE_INFINITY)); in testGreater()
214 assertTrue(FP16.greater(FP16.MIN_NORMAL, FP16.MIN_VALUE)); in testGreater()
216 assertTrue(FP16.greater(FP16.toHalf(12.4f), FP16.toHalf(12.3f))); in testGreater()
219 assertTrue(FP16.greater(FP16.toHalf(-12.3f), FP16.toHalf(-12.4f))); in testGreater()
220 assertTrue(FP16.greater((short) 0x3ff, FP16.MIN_VALUE)); in testGreater()
223 assertTrue(FP16.greater(FP16.toHalf(0.0f), FP16.toHalf(-1.0f))); in testGreater()
226 assertTrue(FP16.greater(FP16.toHalf(1.0f), FP16.toHalf(0.0f))); in testGreater()
231 assertTrue(FP16.greater(FP16.toHalf(0.0f), FP16.toHalf(-0.1f))); in testGreater()
233 assertTrue(FP16.greater(FP16.toHalf(0.1f), FP16.toHalf(0.0f))); in testGreater()
239 assertTrue(FP16.greaterEquals(FP16.POSITIVE_INFINITY, FP16.NEGATIVE_INFINITY)); in testGreaterEquals()
240 assertTrue(FP16.greaterEquals(FP16.POSITIVE_INFINITY, FP16.MAX_VALUE)); in testGreaterEquals()
243 assertTrue(FP16.greaterEquals(FP16.LOWEST_VALUE, FP16.NEGATIVE_INFINITY)); in testGreaterEquals()
244 assertTrue(FP16.greaterEquals(FP16.NEGATIVE_ZERO, FP16.POSITIVE_ZERO)); in testGreaterEquals()
245 assertTrue(FP16.greaterEquals(FP16.POSITIVE_ZERO, FP16.NEGATIVE_ZERO)); in testGreaterEquals()
248 assertTrue(FP16.greaterEquals(FP16.MIN_NORMAL, FP16.MIN_VALUE)); in testGreaterEquals()
250 assertTrue(FP16.greaterEquals(FP16.toHalf(12.4f), FP16.toHalf(12.3f))); in testGreaterEquals()
253 assertTrue(FP16.greaterEquals(FP16.toHalf(-12.3f), FP16.toHalf(-12.4f))); in testGreaterEquals()
254 assertTrue(FP16.greaterEquals((short) 0x3ff, FP16.MIN_VALUE)); in testGreaterEquals()
255 assertTrue(FP16.greaterEquals(FP16.NEGATIVE_INFINITY, FP16.NEGATIVE_INFINITY)); in testGreaterEquals()
256 assertTrue(FP16.greaterEquals(FP16.POSITIVE_INFINITY, FP16.POSITIVE_INFINITY)); in testGreaterEquals()
257 assertTrue(FP16.greaterEquals(FP16.toHalf(12.12356f), FP16.toHalf(12.12356f))); in testGreaterEquals()
258 assertTrue(FP16.greaterEquals(FP16.toHalf(-12.12356f), FP16.toHalf(-12.12356f))); in testGreaterEquals()
261 assertTrue(FP16.greaterEquals(FP16.toHalf(0.0f), FP16.toHalf(-1.0f))); in testGreaterEquals()
262 assertTrue(FP16.greaterEquals(FP16.toHalf(-1.0f), FP16.toHalf(-1.0f))); in testGreaterEquals()
263 assertTrue(FP16.greaterEquals(FP16.toHalf(-1.3f), FP16.toHalf(-1.3f))); in testGreaterEquals()
264 assertTrue(FP16.greaterEquals(FP16.toHalf(1.0f), FP16.toHalf(0.0f))); in testGreaterEquals()
266 assertTrue(FP16.greaterEquals(FP16.toHalf(1.0f), FP16.toHalf(1.0f))); in testGreaterEquals()
267 assertTrue(FP16.greaterEquals(FP16.toHalf(1.3f), FP16.toHalf(1.3f))); in testGreaterEquals()
269 assertTrue(FP16.greaterEquals(FP16.toHalf(0.0f), FP16.toHalf(-0.1f))); in testGreaterEquals()
270 assertTrue(FP16.greaterEquals(FP16.toHalf(-0.1f), FP16.toHalf(-0.1f))); in testGreaterEquals()
271 assertTrue(FP16.greaterEquals(FP16.toHalf(0.1f), FP16.toHalf(0.0f))); in testGreaterEquals()
273 assertTrue(FP16.greaterEquals(FP16.toHalf(0.1f), FP16.toHalf(0.1f))); in testGreaterEquals()
277 assertTrue(FP16.less(FP16.NEGATIVE_INFINITY, FP16.POSITIVE_INFINITY)); in testLess()
278 assertTrue(FP16.less(FP16.MAX_VALUE, FP16.POSITIVE_INFINITY)); in testLess()
281 assertTrue(FP16.less(FP16.NEGATIVE_INFINITY, FP16.LOWEST_VALUE)); in testLess()
286 assertTrue(FP16.less(FP16.MIN_VALUE, FP16.MIN_NORMAL)); in testLess()
288 assertTrue(FP16.less(FP16.toHalf(12.3f), FP16.toHalf(12.4f))); in testLess()
291 assertTrue(FP16.less(FP16.toHalf(-12.4f), FP16.toHalf(-12.3f))); in testLess()
292 assertTrue(FP16.less(FP16.MIN_VALUE, (short) 0x3ff)); in testLess()
294 assertTrue(FP16.less(FP16.toHalf(-1.0f), FP16.toHalf(0.0f))); in testLess()
299 assertTrue(FP16.less(FP16.toHalf(0.0f), FP16.toHalf(1.0f))); in testLess()
302 assertTrue(FP16.less(FP16.toHalf(-0.1f), FP16.toHalf(0.0f))); in testLess()
306 assertTrue(FP16.less(FP16.toHalf(0.0f), FP16.toHalf(0.1f))); in testLess()
311 assertTrue(FP16.lessEquals(FP16.NEGATIVE_INFINITY, FP16.POSITIVE_INFINITY)); in testLessEquals()
312 assertTrue(FP16.lessEquals(FP16.MAX_VALUE, FP16.POSITIVE_INFINITY)); in testLessEquals()
315 assertTrue(FP16.lessEquals(FP16.NEGATIVE_INFINITY, FP16.LOWEST_VALUE)); in testLessEquals()
316 assertTrue(FP16.lessEquals(FP16.POSITIVE_ZERO, FP16.NEGATIVE_ZERO)); in testLessEquals()
317 assertTrue(FP16.lessEquals(FP16.NEGATIVE_ZERO, FP16.POSITIVE_ZERO)); in testLessEquals()
320 assertTrue(FP16.lessEquals(FP16.MIN_VALUE, FP16.MIN_NORMAL)); in testLessEquals()
322 assertTrue(FP16.lessEquals(FP16.toHalf(12.3f), FP16.toHalf(12.4f))); in testLessEquals()
325 assertTrue(FP16.lessEquals(FP16.toHalf(-12.4f), FP16.toHalf(-12.3f))); in testLessEquals()
326 assertTrue(FP16.lessEquals(FP16.MIN_VALUE, (short) 0x3ff)); in testLessEquals()
327 assertTrue(FP16.lessEquals(FP16.NEGATIVE_INFINITY, FP16.NEGATIVE_INFINITY)); in testLessEquals()
328 assertTrue(FP16.lessEquals(FP16.POSITIVE_INFINITY, FP16.POSITIVE_INFINITY)); in testLessEquals()
329 assertTrue(FP16.lessEquals(FP16.toHalf(12.12356f), FP16.toHalf(12.12356f))); in testLessEquals()
330 assertTrue(FP16.lessEquals(FP16.toHalf(-12.12356f), FP16.toHalf(-12.12356f))); in testLessEquals()
332 assertTrue(FP16.lessEquals(FP16.toHalf(-1.0f), FP16.toHalf(0.0f))); in testLessEquals()
334 assertTrue(FP16.lessEquals(FP16.toHalf(-1.0f), FP16.toHalf(-1.0f))); in testLessEquals()
335 assertTrue(FP16.lessEquals(FP16.toHalf(-1.3f), FP16.toHalf(-1.3f))); in testLessEquals()
337 assertTrue(FP16.lessEquals(FP16.toHalf(0.0f), FP16.toHalf(1.0f))); in testLessEquals()
338 assertTrue(FP16.lessEquals(FP16.toHalf(1.0f), FP16.toHalf(1.0f))); in testLessEquals()
339 assertTrue(FP16.lessEquals(FP16.toHalf(1.3f), FP16.toHalf(1.3f))); in testLessEquals()
340 assertTrue(FP16.lessEquals(FP16.toHalf(-0.1f), FP16.toHalf(0.0f))); in testLessEquals()
342 assertTrue(FP16.lessEquals(FP16.toHalf(-0.1f), FP16.toHalf(-0.1f))); in testLessEquals()
344 assertTrue(FP16.lessEquals(FP16.toHalf(0.0f), FP16.toHalf(0.1f))); in testLessEquals()
345 assertTrue(FP16.lessEquals(FP16.toHalf(0.1f), FP16.toHalf(0.1f))); in testLessEquals()