use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method test_empty_1_3.
@Test
public void test_empty_1_3() {
Values values = createRow(1, 2).pseudoMultiply();
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 PseudoMultiply method test_empty_3_3.
@Test
public void test_empty_3_3() {
Values values = pseudoMultiply(createColumn(), createColumn(), createColumn());
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_2_8.
@Test
public void testDiag_enlarge_2_8() {
Values values = createColumn(1).pseudoMultiply(2, 3, 4).pseudoMultiply(7, 8, 9, 10, 11, 12);
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 1, 2, 7 });
expected.add(new Object[] { 1, 3, 8 });
expected.add(new Object[] { 1, 4, 9 });
expected.add(new Object[] { 1, 2, 10 });
expected.add(new Object[] { 1, 3, 11 });
expected.add(new Object[] { 1, 4, 12 });
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method test_empty_1_5.
@Test
public void test_empty_1_5() {
Values values = createRow((Object[]) new Object[0][0]).pseudoMultiply();
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 PseudoMultiply method testDiag_cachedTheSame_4.
@Test
public void testDiag_cachedTheSame_4() {
Values values = createColumn(1).pseudoMultiply();
values = values.pseudoMultiply(31).pseudoMultiply(createRow());
ValuesComparison.checkCachedReturnsTheSame(values);
}
Aggregations