示例#1
0
 @Test
 public void testGreaterEqualLongDouble() {
   assertTrue(cFunction.greaterEqual(1L, 1.0d));
   assertTrue(cFunction.greaterEqual(1L, 0.0d));
   assertFalse(cFunction.greaterEqual(1L, 2.0d));
 }
示例#2
0
 @Test
 public void testGreaterEqualDoubleLong() {
   assertTrue(cFunction.greaterEqual(1.0, 1L));
   assertTrue(cFunction.greaterEqual(1.1, 1L));
   assertFalse(cFunction.greaterEqual(1.9, 2L));
 }
示例#3
0
 @Test
 public void testGreaterEqualLongInteger() {
   assertTrue(cFunction.greaterEqual(1L, 1));
   assertTrue(cFunction.greaterEqual(1L, 0));
   assertFalse(cFunction.greaterEqual(1L, 2));
 }
示例#4
0
 @Test
 public void testGreaterEqualDoubleInteger() {
   assertTrue(cFunction.greaterEqual(1.0, 1));
   assertTrue(cFunction.greaterEqual(1.1, 1));
   assertFalse(cFunction.greaterEqual(1.0, 2));
 }
示例#5
0
 @Test
 public void testGreaterEqualDoubleFloat() {
   assertTrue(cFunction.greaterEqual(1.0, 1.0F));
   assertTrue(cFunction.greaterEqual(1.1, 1.0F));
   assertFalse(cFunction.greaterEqual(1.0, 1.1F));
 }
示例#6
0
 @Test
 public void testGreaterEqualFloatDouble() {
   assertTrue(cFunction.greaterEqual(1.0f, 1.0D));
   assertTrue(cFunction.greaterEqual(2.0f, 1.0D));
   assertFalse(cFunction.greaterEqual(1.0f, 1.1D));
 }
示例#7
0
 @Test
 public void testGreaterEqualFloatLong() {
   assertTrue(cFunction.greaterEqual(1.0f, 1L));
   assertTrue(cFunction.greaterEqual(2.0f, 1L));
   assertFalse(cFunction.greaterEqual(0.9f, 1L));
 }
示例#8
0
 @Test
 public void testGreaterEqualIntegerLong() {
   assertTrue(cFunction.greaterEqual(1, 1L));
   assertTrue(cFunction.greaterEqual(2, 1L));
   assertFalse(cFunction.greaterEqual(1, 2L));
 }
示例#9
0
 @Test
 public void testGreaterEqualFloatInteger() {
   assertTrue(cFunction.greaterEqual(1.0F, 1));
   assertTrue(cFunction.greaterEqual(2.0F, 1));
   assertFalse(cFunction.greaterEqual(1.0F, 2));
 }
示例#10
0
 @Test
 public void testGreaterEqualIntegerDouble() {
   assertTrue(cFunction.greaterEqual(1, 1.0));
   assertTrue(cFunction.greaterEqual(2, 1.0));
   assertFalse(cFunction.greaterEqual(1, 1.1));
 }
示例#11
0
 @Test
 public void testGreaterEqualIntegerFloat() {
   assertTrue(cFunction.greaterEqual(1, 1.0F));
   assertTrue(cFunction.greaterEqual(2, 1.0F));
   assertFalse(cFunction.greaterEqual(1, 1.1F));
 }
示例#12
0
 @Test
 public void testGreaterEqualLongLong() {
   assertTrue(cFunction.greaterEqual(1L, 1L));
   assertTrue(cFunction.greaterEqual(2L, 1L));
   assertFalse(cFunction.greaterEqual(1L, 2L));
 }
示例#13
0
 @Test
 public void testGreaterEqualDoubleDouble() {
   assertTrue(cFunction.greaterEqual(1.0, 1.0));
   assertTrue(cFunction.greaterEqual(1.1, 1));
   assertFalse(cFunction.greaterEqual(1.0, 1.1));
 }
示例#14
0
 @Test
 public void testGreaterEqualFloatFloat() {
   assertTrue(cFunction.greaterEqual(1.0F, 1.0F));
   assertTrue(cFunction.greaterEqual(1.1F, 1F));
   assertFalse(cFunction.greaterEqual(1F, 1.1F));
 }