Search in sources :

Example 1 with KiePMMLSimpleSetPredicate

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

the class KiePMMLSimpleSetPredicateInstanceFactoryTest method getKiePMMLSimpleSetPredicate.

@Test
public void getKiePMMLSimpleSetPredicate() {
    final SimpleSetPredicate toConvert = getRandomSimpleSetPredicate();
    final KiePMMLSimpleSetPredicate retrieved = KiePMMLSimpleSetPredicateInstanceFactory.getKiePMMLSimpleSetPredicate(toConvert);
    commonVerifyKiePMMLSimpleSetPredicate(retrieved, toConvert);
}
Also used : InstanceFactoriesTestCommon.commonVerifyKiePMMLSimpleSetPredicate(org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLSimpleSetPredicate) KiePMMLSimpleSetPredicate(org.kie.pmml.commons.model.predicates.KiePMMLSimpleSetPredicate) InstanceFactoriesTestCommon.commonVerifyKiePMMLSimpleSetPredicate(org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLSimpleSetPredicate) KiePMMLSimpleSetPredicate(org.kie.pmml.commons.model.predicates.KiePMMLSimpleSetPredicate) SimpleSetPredicate(org.dmg.pmml.SimpleSetPredicate) PMMLModelTestUtils.getRandomSimpleSetPredicate(org.kie.pmml.compiler.api.testutils.PMMLModelTestUtils.getRandomSimpleSetPredicate) Test(org.junit.Test)

Aggregations

SimpleSetPredicate (org.dmg.pmml.SimpleSetPredicate)1 Test (org.junit.Test)1 KiePMMLSimpleSetPredicate (org.kie.pmml.commons.model.predicates.KiePMMLSimpleSetPredicate)1 PMMLModelTestUtils.getRandomSimpleSetPredicate (org.kie.pmml.compiler.api.testutils.PMMLModelTestUtils.getRandomSimpleSetPredicate)1 InstanceFactoriesTestCommon.commonVerifyKiePMMLSimpleSetPredicate (org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLSimpleSetPredicate)1