コード例 #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));
 }