29package com.jogamp.gluegen.test.junit.internals;
31import org.junit.Assert;
34import com.jogamp.gluegen.cgram.types.FloatType;
35import com.jogamp.gluegen.cgram.types.IntType;
36import com.jogamp.junit.util.SingletonJunitCase;
38import org.junit.FixMethodOrder;
39import org.junit.runners.MethodSorters;
41@FixMethodOrder(MethodSorters.NAME_ASCENDING)
60 Assert.assertFalse(f1.getClass().isInstance(
null));
61 Assert.assertTrue(f1.getClass().isInstance(f2));
62 Assert.assertTrue(i1.getClass().isInstance(i2));
63 Assert.assertFalse(f1.getClass().isInstance(i2));
65 Assert.assertFalse(f1.
equals(f2));
66 Assert.assertFalse(i1.
equals(i2));
67 Assert.assertFalse(f1.
equals(i2));
68 Assert.assertNotEquals(f1H, f2H);
69 Assert.assertNotEquals(i1H, i2H);
70 Assert.assertNotEquals(f1H, i2H);
75 Assert.assertEquals(f1HS, f2HS);
76 Assert.assertEquals(i1HS, i2HS);
77 Assert.assertNotEquals(f1HS, i2HS);
80 public static void main(
final String args[]) {
81 final String tstname =
TestType.class.getName();
82 org.junit.runner.JUnitCore.
main(tstname);
Represents a single-word floating-point type (C type "float".)
final int hashCodeSemantics()
Semantic hashcode for Types exclusive its given name.
final int hashCode()
Hashcode for Types.
final boolean equalSemantics(final SemanticEqualityOp arg)
Semantic equality test for Types exclusive its given name.
final boolean equals(final Object arg)
Equality test for Types inclusive its given name.
static void main(final String args[])