use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method testDiag_enlarge_cache.
@Test
public void testDiag_enlarge_cache() {
Values values = createColumn(1, 2, 7);
values = values.pseudoMultiply(createRow(3, 56, 78));
ValuesComparison.checkCachedReturnsTheSame(values);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method testDiag_enlarge_2_4.
@Test
public void testDiag_enlarge_2_4() {
Values values = createColumn(1, 2, 7);
values = values.pseudoMultiply(createRow(3, 56, 78));
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 1, 3, 56, 78 });
expected.add(new Object[] { 2, 3, 56, 78 });
expected.add(new Object[] { 7, 3, 56, 78 });
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method testDiag_single_shortcut.
@Test
public void testDiag_single_shortcut() {
Values values = pseudoMultiply(createColumn(1, 2, 3));
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 1 });
expected.add(new Object[] { 2 });
expected.add(new Object[] { 3 });
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method test_empty_3_7.
@Test
public void test_empty_3_7() {
Values values = pseudoMultiply(createColumn(1), createRow(), createColumn(1));
List<Object[]> expected = new ArrayList<>();
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method testDiag_enlarge_4_1.
@Test
public void testDiag_enlarge_4_1() {
Values values = createColumn("a", "b", "c", "d", "e", "f", "g", "h");
values = values.pseudoMultiply(createColumn(1, 2, 3));
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { "a", 1 });
expected.add(new Object[] { "b", 2 });
expected.add(new Object[] { "c", 3 });
expected.add(new Object[] { "d", 1 });
expected.add(new Object[] { "e", 2 });
expected.add(new Object[] { "f", 3 });
expected.add(new Object[] { "g", 1 });
expected.add(new Object[] { "h", 2 });
ValuesComparison.compare(values, expected);
}
Aggregations