@Test
 public void testSmallerLongDouble() {
   assertTrue(cFunction.smaller(1L, 2.0D));
   assertFalse(cFunction.smaller(1L, 1.0D));
   assertFalse(cFunction.smaller(2L, 1.0D));
 }
 @Test
 public void testSmallerLongInteger() {
   assertTrue(cFunction.smaller(1L, 2));
   assertFalse(cFunction.smaller(1L, 1));
   assertFalse(cFunction.smaller(2L, 1));
 }
 @Test
 public void testSmallerLongFloat() {
   assertTrue(cFunction.smaller(1L, 2.0F));
   assertFalse(cFunction.smaller(1L, 1.0F));
   assertFalse(cFunction.smaller(2L, 1.0F));
 }
 @Test
 public void testSmallerDoubleFloat() {
   assertTrue(cFunction.smaller(1.9, 2.0F));
   assertFalse(cFunction.smaller(1.0, 1.0F));
   assertFalse(cFunction.smaller(2.0, 1.9F));
 }
 @Test
 public void testSmallerDoubleLong() {
   assertTrue(cFunction.smaller(1.9, 2L));
   assertFalse(cFunction.smaller(1.0, 1L));
   assertFalse(cFunction.smaller(1.1, 1L));
 }
 @Test
 public void testSmallerFloatDouble() {
   assertFalse(cFunction.smaller(1.0F, 1.0));
   assertTrue(cFunction.smaller(0.9F, 1.0));
   assertFalse(cFunction.smaller(1.1F, 1.0));
 }
 @Test
 public void testSmallerDoubleInteger() {
   assertTrue(cFunction.smaller(1.9, 2));
   assertFalse(cFunction.smaller(1.0, 1));
   assertFalse(cFunction.smaller(2.0, 1));
 }
 @Test
 public void testSmallerFloatInteger() {
   assertTrue(cFunction.smaller(1.9F, 2));
   assertFalse(cFunction.smaller(1.0F, 1));
   assertFalse(cFunction.smaller(1.1F, 1));
 }
 @Test
 public void testSmallerFloatLong() {
   assertTrue(cFunction.smaller(1.9F, 2L));
   assertFalse(cFunction.smaller(1.0F, 1L));
   assertFalse(cFunction.smaller(1.1F, 1L));
 }
Beispiel #10
0
 @Test
 public void testSmallerIntegerLong() {
   assertTrue(cFunction.smaller(1, 2L));
   assertFalse(cFunction.smaller(1, 1L));
   assertFalse(cFunction.smaller(2, 1L));
 }
Beispiel #11
0
 @Test
 public void testSmallerIntegerDouble() {
   assertTrue(cFunction.smaller(1, 1.1));
   assertFalse(cFunction.smaller(1, 1.0));
   assertFalse(cFunction.smaller(1, 0.9));
 }
Beispiel #12
0
 @Test
 public void testSmallerIntegerFloat() {
   assertTrue(cFunction.smaller(1, 1.1F));
   assertFalse(cFunction.smaller(1, 1.0F));
   assertFalse(cFunction.smaller(2, 1.9F));
 }
Beispiel #13
0
 @Test
 public void testSmallerLongLong() {
   assertTrue(cFunction.smaller(1L, 2L));
   assertFalse(cFunction.smaller(1L, 1L));
   assertFalse(cFunction.smaller(2L, 1L));
 }
Beispiel #14
0
 @Test
 public void testSmallerDoubleDouble() {
   assertTrue(cFunction.smaller(1.9, 2.0));
   assertFalse(cFunction.smaller(1.0, 1.0));
   assertFalse(cFunction.smaller(2.0, 1.9));
 }