use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Mixed method test_1_2_cached.
@Test
public void test_1_2_cached() {
Values values_1 = createColumn("a", "b", "c", "d");
Values values_2 = createColumn(1, 2).multiply(createColumn(3, 4));
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { "a", 1, 3 });
expected.add(new Object[] { "b", 1, 4 });
expected.add(new Object[] { "c", 2, 3 });
expected.add(new Object[] { "d", 2, 4 });
ValuesComparison.compare(values_1.pseudoMultiply(values_2).createCache(), expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Mixed method testCombine_Diag_2.
@Test
public void testCombine_Diag_2() {
Values values = createColumn(1, 2);
values = values.multiply(createColumn(3, 4));
values = values.pseudoMultiply(createColumn(67, 45, 79, 13));
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 1, 3, 67 });
expected.add(new Object[] { 1, 4, 45 });
expected.add(new Object[] { 2, 3, 79 });
expected.add(new Object[] { 2, 4, 13 });
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Mixed method test_50_1.
@Test
public void test_50_1() {
Values values = new ValuesImplSlow("a").multiply();
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 test_0_2.
@Test
public void test_0_2() {
Values v_1 = createColumn();
Values v_2 = createColumn();
Values v_3 = createColumn();
Values vfinal = v_3.pseudoMultiply(v_1.unite(v_2));
List<Object[]> expected = new ArrayList<>();
ValuesComparison.compare(vfinal, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Mixed method testDiag_pseudoMult_intersect_3.
@Test
public void testDiag_pseudoMult_intersect_3() {
Values values = pseudoMultiply(createColumn(1), createColumn(1, 2, 3, 4, 5, 6).intersect(2, 3), createColumn(4, 5, 6, 7));
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 1, 2, 4 });
expected.add(new Object[] { 1, 3, 5 });
expected.add(new Object[] { 1, 2, 6 });
expected.add(new Object[] { 1, 3, 7 });
ValuesComparison.compare(values, expected);
}
Aggregations