use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Mixed method test_012.
@Test
public void test_012() {
Values v_1 = createColumn();
Values v_2 = createColumn("a");
Values vfinal = (v_1.unite(v_2)).pseudoMultiply(v_1.unite(v_2));
List<Object[]> expected = new ArrayList<>();
expected.add(new Object[] { "a", "a" });
ValuesComparison.compare(vfinal, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Mixed method test_withEmpty_40.
@Test
public void test_withEmpty_40() {
Values values = createColumn("a", "b").multiply(createColumn().intersect("a"));
List<Object[]> expected = new ArrayList<Object[]>();
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Mixed method testDiag_pseudoMult_intersect_14.
@Test
public void testDiag_pseudoMult_intersect_14() {
Values values = createRow(1, 9, 6).unite(createRow(5, 6, 11)).intersect(pseudoMultiply(createColumn(6, 1, 9).intersect(1).pseudoMultiply(8, 9).unite(createRow(5, 6)), createColumn(8, 6, 7, 9, 10, 11, 12)));
values = createColumn(5, 6, 7).pseudoMultiply(values);
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 5, 1, 9, 6 });
expected.add(new Object[] { 6, 5, 6, 11 });
expected.add(new Object[] { 7, 1, 9, 6 });
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Mixed method testDiag_pseudoMult_intersect_2.
@Test
public void testDiag_pseudoMult_intersect_2() {
Values values = pseudoMultiply(createColumn(1, 2, 3, 4, 5, 6).intersect(2, 3), createColumn(4, 5, 6, 7, 8, 9, 10));
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 2, 4 });
expected.add(new Object[] { 3, 5 });
expected.add(new Object[] { 2, 6 });
expected.add(new Object[] { 3, 7 });
expected.add(new Object[] { 2, 8 });
expected.add(new Object[] { 3, 9 });
expected.add(new Object[] { 2, 10 });
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testCombineCombine_1_withEmpty_1_3.
@Test
public void testCombineCombine_1_withEmpty_1_3() {
Values values = createRow();
values = values.multiply(createColumn(3, 4));
values = values.multiply(createColumn(5));
List<Object[]> expected = new ArrayList<Object[]>();
ValuesComparison.compare(values, expected);
}
Aggregations