use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method testDiag_cachedTheSame_1.
@Test
public void testDiag_cachedTheSame_1() {
Values values = createColumn(1, 2, 7, 8, 9);
values = values.<Object>pseudoMultiply("12", "a", "b", "c", "e", 4, 435);
ValuesComparison.checkCachedReturnsTheSame(values);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method testDiag_1.
@Test
public void testDiag_1() {
Values values = createColumn(1, 2);
values = values.pseudoMultiply(createColumn(3, 4));
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 1, 3 });
expected.add(new Object[] { 2, 4 });
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method testDiag_cachedTheSame_2.
@Test
public void testDiag_cachedTheSame_2() {
Values values = createColumn(1, 2, 7, 8, 9, 89);
values = values.pseudoMultiply(31, 42, 27, 18, 79, 89, 56);
values = values.pseudoMultiply(56, 34, 66, 89, 90);
ValuesComparison.checkCachedReturnsTheSame(values);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class PseudoMultiply method test_empty_8.
@Test
public void test_empty_8() {
Values values = createColumn().pseudoMultiply(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_5_1_cache.
@Test
public void testDiag_enlarge_5_1_cache() {
Values values = createColumn("a", "b", "c");
values = values.pseudoMultiply(createColumn(1, 2, 3, 4, 5, 6, 7, 8));
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[] { "a", 4 });
expected.add(new Object[] { "b", 5 });
expected.add(new Object[] { "c", 6 });
expected.add(new Object[] { "a", 7 });
expected.add(new Object[] { "b", 8 });
ValuesComparison.compare(values.createCache(), expected);
}
Aggregations