use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method test_empty_7.
@Test
public void test_empty_7() {
Values values = createColumn(5, 6, 7).pseudoMultiply(createColumn()).pseudoMultiply(createColumn());
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_enlarge_2_10_1.
@Test
public void testDiag_enlarge_2_10_1() {
Values values = createColumn(1, 0).pseudoMultiply(2, 3, 4, 5, 6).pseudoMultiply(7, 8, 9, 10, 11, 12, 13);
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 1, 2, 7 });
expected.add(new Object[] { 0, 3, 8 });
expected.add(new Object[] { 1, 4, 9 });
expected.add(new Object[] { 0, 5, 10 });
expected.add(new Object[] { 1, 6, 11 });
expected.add(new Object[] { 1, 2, 12 });
expected.add(new Object[] { 0, 3, 13 });
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method testDiag_1_twice.
@Test
public void testDiag_1_twice() {
Values values = createColumn(1, 2);
values = values.pseudoMultiply(createColumn(3, 4));
values = values.pseudoMultiply(createColumn(5, 6));
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 1, 3, 5 });
expected.add(new Object[] { 2, 4, 6 });
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method testDiag_1_1_1.
@Test
public void testDiag_1_1_1() {
Values values = createColumn(1, 2);
values = values.pseudoMultiply(new Object[][] { { 8, 9 }, { 10, 30 } });
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 1, 8, 9 });
expected.add(new Object[] { 2, 10, 30 });
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method testDiag_enlarge_1_compareCached.
@Test
public void testDiag_enlarge_1_compareCached() {
Values values = createColumn(1, 2);
values = values.pseudoMultiply(createColumn(3, 4, 5, 6));
values = values.pseudoMultiply(createColumn(90, 100, 110, 500, 600, 700));
ValuesComparison.checkCachedReturnsTheSame(values);
}
Aggregations