Search in sources :

Example 11 with ValuesImplSlow

use of com.oracle.tck.lib.autd2.unittests.tgfported.ValuesImplSlow in project jtharness by openjdk.

the class Mixed method test_mult_impl_implSlow.

@Test
public void test_mult_impl_implSlow() {
    Values values = DataFactory.createColumn(1).multiply(new ValuesImplSlow("a"));
    List<Object[]> expected = new ArrayList<>();
    expected.add(new Object[] { 1, "a" });
    ValuesComparison.compare(values, expected);
}
Also used : Values(com.sun.tck.lib.tgf.Values) ValuesImplSlow(com.oracle.tck.lib.autd2.unittests.tgfported.ValuesImplSlow) ArrayList(java.util.ArrayList) Test(org.junit.Test)

Example 12 with ValuesImplSlow

use of com.oracle.tck.lib.autd2.unittests.tgfported.ValuesImplSlow in project jtharness by openjdk.

the class Mixed method test_50_3.

@Test
public void test_50_3() {
    Values values = new ValuesImplSlow().pseudoMultiply("a");
    List<Object[]> expected = new ArrayList<Object[]>();
    ValuesComparison.compare(values, expected);
}
Also used : Values(com.sun.tck.lib.tgf.Values) ValuesImplSlow(com.oracle.tck.lib.autd2.unittests.tgfported.ValuesImplSlow) ArrayList(java.util.ArrayList) TestObject(com.oracle.tck.lib.autd2.unittests.TestObject) Test(org.junit.Test)

Aggregations

ValuesImplSlow (com.oracle.tck.lib.autd2.unittests.tgfported.ValuesImplSlow)12 Values (com.sun.tck.lib.tgf.Values)12 ArrayList (java.util.ArrayList)11 Test (org.junit.Test)11 TestObject (com.oracle.tck.lib.autd2.unittests.TestObject)10 ValuesComparison (com.oracle.tck.lib.autd2.unittests.ValuesComparison)1 IDataProducer (com.oracle.tck.lib.autd2.unittests.tgfported.algebra.generated.IDataProducer)1 DataFactory (com.sun.tck.lib.tgf.DataFactory)1 Map (java.util.Map)1 Test (junit.framework.Test)1 RunWith (org.junit.runner.RunWith)1 AllTests (org.junit.runners.AllTests)1