Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

PMML : Reflect changes in traiting system

  • Loading branch information...
commit 97eb1a1ad0636b4bdc8e9642fb398fc5502fcd4c 1 parent e70541f
@sotty sotty authored
View
4 drools-pmml/src/test/java/org/drools/pmml/pmml_4_1/predictive/models/CleanupTest.java
@@ -73,7 +73,7 @@ public void testCleanupANN() {
System.err.println(reportWMObjects(kSession));
- assertEquals( 1, kSession.getObjects().size() );
+ assertEquals( 2, kSession.getObjects().size() );
kSession.dispose();
}
@@ -95,7 +95,7 @@ public void testReenableANN() {
System.err.println(reportWMObjects(getKSession()));
- assertEquals( 1, getKSession().getObjects().size() );
+ assertEquals( 2, getKSession().getObjects().size() );
getKSession().getWorkingMemoryEntryPoint( "enable_Neuiris" ).insert( Boolean.TRUE );
getKSession().fireAllRules();
View
4 drools-pmml/src/test/java/org/drools/pmml/pmml_4_1/predictive/models/MultipleModelTest.java
@@ -161,9 +161,9 @@ public void testInsertLogicalOnInitialFact() {
System.out.println( "**" + o );
}
- assertEquals( 4, ksession.getObjects().size() );
+ assertEquals( 5, ksession.getObjects().size() );
assertEquals( 2, ksession.getObjects(new ClassObjectFilter( ModelMarker.class )).size() );
- assertEquals( 1, ksession.getObjects(new ClassObjectFilter( Thing.class )).size() );
+ assertEquals( 2, ksession.getObjects(new ClassObjectFilter( Thing.class )).size() );
ksession.dispose();
kagent.dispose();
Please sign in to comment.
Something went wrong with that request. Please try again.