Search in sources :

Example 1 with KiePMMLFieldColumnPair

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

the class KiePMMLFieldColumnPairInstanceFactoryTest method getKiePMMLFieldColumnPair.

@Test
public void getKiePMMLFieldColumnPair() {
    final FieldColumnPair toConvert = getRandomFieldColumnPair();
    final KiePMMLFieldColumnPair retrieved = KiePMMLFieldColumnPairInstanceFactory.getKiePMMLFieldColumnPair(toConvert);
    commonVerifyKiePMMLFieldColumnPair(retrieved, toConvert);
}
Also used : KiePMMLFieldColumnPair(org.kie.pmml.commons.model.expressions.KiePMMLFieldColumnPair) PMMLModelTestUtils.getRandomFieldColumnPair(org.kie.pmml.compiler.api.testutils.PMMLModelTestUtils.getRandomFieldColumnPair) FieldColumnPair(org.dmg.pmml.FieldColumnPair) InstanceFactoriesTestCommon.commonVerifyKiePMMLFieldColumnPair(org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLFieldColumnPair) KiePMMLFieldColumnPair(org.kie.pmml.commons.model.expressions.KiePMMLFieldColumnPair) InstanceFactoriesTestCommon.commonVerifyKiePMMLFieldColumnPair(org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLFieldColumnPair) Test(org.junit.Test)

Aggregations

FieldColumnPair (org.dmg.pmml.FieldColumnPair)1 Test (org.junit.Test)1 KiePMMLFieldColumnPair (org.kie.pmml.commons.model.expressions.KiePMMLFieldColumnPair)1 PMMLModelTestUtils.getRandomFieldColumnPair (org.kie.pmml.compiler.api.testutils.PMMLModelTestUtils.getRandomFieldColumnPair)1 InstanceFactoriesTestCommon.commonVerifyKiePMMLFieldColumnPair (org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLFieldColumnPair)1