Search in sources :

Example 1 with KiePMMLTargetValue

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

the class KiePMMLTargetValueInstanceFactoryTest method getKiePMMLTargetValue.

@Test
public void getKiePMMLTargetValue() {
    final TargetValue toConvert = getRandomTargetValue();
    KiePMMLTargetValue retrieved = KiePMMLTargetValueInstanceFactory.getKiePMMLTargetValue(toConvert);
    commonVerifyKiePMMLTargetValue(retrieved, toConvert);
}
Also used : TargetValue(org.dmg.pmml.TargetValue) KiePMMLTargetValue(org.kie.pmml.commons.model.KiePMMLTargetValue) InstanceFactoriesTestCommon.commonVerifyKiePMMLTargetValue(org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLTargetValue) PMMLModelTestUtils.getRandomTargetValue(org.kie.pmml.compiler.api.testutils.PMMLModelTestUtils.getRandomTargetValue) KiePMMLTargetValue(org.kie.pmml.commons.model.KiePMMLTargetValue) InstanceFactoriesTestCommon.commonVerifyKiePMMLTargetValue(org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLTargetValue) Test(org.junit.Test)

Aggregations

TargetValue (org.dmg.pmml.TargetValue)1 Test (org.junit.Test)1 KiePMMLTargetValue (org.kie.pmml.commons.model.KiePMMLTargetValue)1 PMMLModelTestUtils.getRandomTargetValue (org.kie.pmml.compiler.api.testutils.PMMLModelTestUtils.getRandomTargetValue)1 InstanceFactoriesTestCommon.commonVerifyKiePMMLTargetValue (org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLTargetValue)1