@Test public void testPositiveString() { String expected = "positive"; String actual = cFunction.positive("positive"); assertEquals(expected, actual); }
@Test public void testPositiveBoolean() { boolean expected = true; boolean actual = cFunction.positive(true); assertEquals(expected, actual); }
@Test public void testPositiveDouble() { double expected = 10.3D; double actual = cFunction.positive(10.3D); assertEquals(expected, actual, delta); }
@Test public void testPositiveLong() { long expected = 10; long actual = cFunction.positive(10L); assertEquals(expected, actual); }
@Test public void testPositiveFloat() { float expected = 10.3F; float actual = cFunction.positive(10.3F); assertEquals(expected, actual, delta); }
@Test public void testPositiveInteger() { int expected = 10; int actual = cFunction.positive(10); assertEquals(expected, actual); }