@Test public void testNotEqualsObjectObject() { Object obj1 = new Object(); assertFalse(cFunction.notEquals(obj1, obj1)); assertTrue(cFunction.notEquals(obj1, null)); assertTrue(cFunction.notEquals(null, obj1)); assertTrue(cFunction.notEquals(new Object(), new Object())); }
@Test public void testNotEqualsEObjectEObject() { EObject obj1 = EcoreFactory.eINSTANCE.createEObject(); assertFalse(cFunction.notEquals(obj1, obj1)); assertTrue(cFunction.notEquals(obj1, null)); assertTrue(cFunction.notEquals(null, obj1)); assertFalse( cFunction.notEquals( EcoreFactory.eINSTANCE.createEObject(), EcoreFactory.eINSTANCE.createEObject())); }
@Test public void testNotEqualsIntegerInteger() { assertTrue(cFunction.notEquals(1, 2)); assertFalse(cFunction.notEquals(1, 1)); }
@Test public void testNotEqualsStringString() { assertTrue(cFunction.notEquals("Hans", "Wurst")); assertFalse(cFunction.notEquals("Hans", "Hans")); }
@Test public void testNotEqualsBooleanBoolean() { assertTrue(cFunction.notEquals(true, false)); assertFalse(cFunction.notEquals(true, true)); }
@Test public void testNotEqualsDoubleLong() { assertTrue(cFunction.notEquals(1.01, 1L)); assertFalse(cFunction.notEquals(1.0, 1L)); }
@Test public void testNotEqualsDoubleFloat() { assertTrue(cFunction.notEquals(1.01, 1.02F)); assertFalse(cFunction.notEquals(1.5, 1.5F)); }
@Test public void testNotEqualsLongFloat() { assertTrue(cFunction.notEquals(1L, 1.1F)); assertFalse(cFunction.notEquals(1L, 1.0F)); }
@Test public void testNotEqualsLongLong() { assertTrue(cFunction.notEquals(1L, 2L)); assertFalse(cFunction.notEquals(1L, 1L)); }
@Test public void testNotEqualsFloatDouble() { assertTrue(cFunction.notEquals(1.01F, 1.02)); assertFalse(cFunction.notEquals(1.5F, 1.5)); }
@Test public void testNotEqualsFloatInteger() { assertTrue(cFunction.notEquals(1.1F, 1)); assertFalse(cFunction.notEquals(1.0F, 1)); }
@Test public void testNotEqualsIntegerLong() { assertTrue(cFunction.notEquals(1, 2L)); assertFalse(cFunction.notEquals(1, 1L)); }
@Test public void testNotEqualsLongDouble() { assertTrue(cFunction.notEquals(1L, 1.1D)); assertFalse(cFunction.notEquals(1L, 1.0D)); }
@Test public void testNotEqualsFloatFloat() { assertTrue(cFunction.notEquals(1.2F, 1.3F)); assertFalse(cFunction.notEquals(1.1F, 1.1F)); }
@Test public void testNotEqualsFloatLong() { assertFalse(cFunction.notEquals(1.0F, 1L)); assertTrue(cFunction.notEquals(1.5F, 1L)); }
@Test public void testNotEqualsDoubleDouble() { assertTrue(cFunction.notEquals(1.2, 1.3)); assertFalse(cFunction.notEquals(1.2, 1.2)); }
@Test public void testNotEqualsDoubleInteger() { assertTrue(cFunction.notEquals(1.01, 1)); assertFalse(cFunction.notEquals(1.0, 1)); }
@Test public void testNotEqualsIntegerFloat() { assertTrue(cFunction.notEquals(1, 1.1F)); assertFalse(cFunction.notEquals(1, 1.0F)); }
@Test public void testNotEqualsIntegerDouble() { assertTrue(cFunction.notEquals(1, 1.1)); assertFalse(cFunction.notEquals(1, 1.0)); }