Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[PMML] Prevent duplicate rules - fix tests

  • Loading branch information...
commit 04f9019426b25823127d55d5b1ef6d4dc8dc5465 1 parent 4d78b0a
@sotty sotty authored
View
2  drools-pmml/src/test/java/org/drools/pmml/pmml_4_1/predictive/models/CleanupTest.java
@@ -107,7 +107,7 @@ public void testReenableANN() {
System.err.println( reportWMObjects(getKSession()) );
- getKSession().getWorkingMemoryEntryPoint("in_Feat2").insert(101);
+ getKSession().getWorkingMemoryEntryPoint("in_PetalNum").insert(101);
getKSession().getWorkingMemoryEntryPoint("in_PetalWid").insert(2);
getKSession().getWorkingMemoryEntryPoint("in_Species").insert("virginica");
getKSession().getWorkingMemoryEntryPoint("in_SepalWid").insert(30);
View
2  drools-pmml/src/test/java/org/drools/pmml/pmml_4_1/predictive/models/NeuralNetworkTest.java
@@ -388,7 +388,7 @@ public void testIris3() throws Exception {
Assert.assertEquals(6, getNumAssertedSynapses());
- getKSession().getWorkingMemoryEntryPoint("in_Feat2").insert(101);
+ getKSession().getWorkingMemoryEntryPoint("in_PetalNum").insert(101);
getKSession().getWorkingMemoryEntryPoint("in_PetalWid").insert(2);
getKSession().getWorkingMemoryEntryPoint("in_Species").insert("virginica");
getKSession().getWorkingMemoryEntryPoint("in_SepalWid").insert(30);
Please sign in to comment.
Something went wrong with that request. Please try again.