Search in sources :

Example 1 with KiePMMLRow

use of org.kie.pmml.commons.model.expressions.KiePMMLRow in project drools by kiegroup.

the class KiePMMLRowInstanceFactoryTest method getKiePMMLRow.

@Test
public void getKiePMMLRow() {
    Row toConvert = getRandomRow();
    KiePMMLRow retrieved = KiePMMLRowInstanceFactory.getKiePMMLRow(toConvert);
    commonVerifyKiePMMLRow(retrieved, toConvert);
    toConvert = getRandomRowWithCells();
    retrieved = KiePMMLRowInstanceFactory.getKiePMMLRow(toConvert);
    commonVerifyKiePMMLRowWithCells(retrieved, toConvert);
}
Also used : KiePMMLRow(org.kie.pmml.commons.model.expressions.KiePMMLRow) InstanceFactoriesTestCommon.commonVerifyKiePMMLRow(org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLRow) KiePMMLRow(org.kie.pmml.commons.model.expressions.KiePMMLRow) PMMLModelTestUtils.getRandomRow(org.kie.pmml.compiler.api.testutils.PMMLModelTestUtils.getRandomRow) InstanceFactoriesTestCommon.commonVerifyKiePMMLRow(org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLRow) Row(org.dmg.pmml.Row) Test(org.junit.Test)

Aggregations

Row (org.dmg.pmml.Row)1 Test (org.junit.Test)1 KiePMMLRow (org.kie.pmml.commons.model.expressions.KiePMMLRow)1 PMMLModelTestUtils.getRandomRow (org.kie.pmml.compiler.api.testutils.PMMLModelTestUtils.getRandomRow)1 InstanceFactoriesTestCommon.commonVerifyKiePMMLRow (org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLRow)1