use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testCombineCombine_3.
@Test
public void testCombineCombine_3() {
Values values_1 = createColumn(1, 2);
Values values_2 = createColumn(3, 4);
Values values_3 = createColumn(5, 6);
values_2 = values_2.multiply(values_3);
values_1 = values_1.multiply(values_2);
checkCombineCombine_3(values_1);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testMultiplySelf_2.
@Test
public void testMultiplySelf_2() {
Object o1 = new Object();
Object o2 = new Object();
Values values = createColumn(o1, o2);
values = values.multiply(values);
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { o1, o1 });
expected.add(new Object[] { o1, o2 });
expected.add(new Object[] { o2, o1 });
expected.add(new Object[] { o2, o2 });
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testCombineCombine_3_supportingMethod_2.
@Test
public void testCombineCombine_3_supportingMethod_2() {
Values values_1 = createColumn(1, 2);
Values values_2 = createColumn(3, 4);
Values values_3 = createColumn(5, 6);
checkCombineCombine_3(multiply(multiply(values_1, values_2), values_3));
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testCombineCombine_2_2.
@Test
public void testCombineCombine_2_2() {
Values values = createColumn(1);
values = values.multiply(createColumn(2));
values = values.multiply(createColumn(3, 4));
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 1, 2, 3 });
expected.add(new Object[] { 1, 2, 4 });
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testCombine_1_1_util.
@Test
public void testCombine_1_1_util() {
Values values = multiply(createColumn(1, 2), createColumn(3, 4));
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 1, 3 });
expected.add(new Object[] { 1, 4 });
expected.add(new Object[] { 2, 3 });
expected.add(new Object[] { 2, 4 });
ValuesComparison.compare(values, expected);
}
Aggregations