Revision: 19292
          http://sourceforge.net/p/gate/code/19292
Author:   markagreenwood
Date:     2016-05-11 07:06:23 +0000 (Wed, 11 May 2016)
Log Message:
-----------
update the tests to match the current output using a Java 8 VM

Modified Paths:
--------------
    gate/trunk/plugins/Learning/src/gate/learning/test/TestLearningAPI.java

Modified: 
gate/trunk/plugins/Learning/src/gate/learning/test/TestLearningAPI.java
===================================================================
--- gate/trunk/plugins/Learning/src/gate/learning/test/TestLearningAPI.java     
2016-05-11 01:22:03 UTC (rev 19291)
+++ gate/trunk/plugins/Learning/src/gate/learning/test/TestLearningAPI.java     
2016-05-11 07:06:23 UTC (rev 19292)
@@ -222,8 +222,8 @@
                "; 
partial="+(int)Math.floor(evaluation.macroMeasuresOfResults.partialCor)+
                "; 
spurious="+(int)Math.floor(evaluation.macroMeasuresOfResults.spurious) +
                                "; missing=" + 
(int)Math.floor(evaluation.macroMeasuresOfResults.missing));
-    assertEquals("Wrong value for correct: ", 27, 
(int)Math.floor(evaluation.macroMeasuresOfResults.correct));
-    assertEquals("Wrong value for partial: ", 3, 
(int)Math.floor(evaluation.macroMeasuresOfResults.partialCor));
+    assertEquals("Wrong value for correct: ", 25, 
(int)Math.floor(evaluation.macroMeasuresOfResults.correct));
+    assertEquals("Wrong value for partial: ", 2, 
(int)Math.floor(evaluation.macroMeasuresOfResults.partialCor));
     assertEquals("Wrong value for spurious: ", 26, 
(int)Math.floor(evaluation.macroMeasuresOfResults.spurious));
     assertEquals("Wrong value for missing: ", 42, 
(int)Math.floor(evaluation.macroMeasuresOfResults.missing));
     // Remove the resources
@@ -262,10 +262,10 @@
                "; 
partial="+(int)Math.floor(evaluation.macroMeasuresOfResults.partialCor)+
                "; 
spurious="+(int)Math.floor(evaluation.macroMeasuresOfResults.spurious) +
                                "; missing=" + 
(int)Math.floor(evaluation.macroMeasuresOfResults.missing));
-    assertEquals("Wrong value for correct: ", 52, 
(int)Math.floor(evaluation.macroMeasuresOfResults.correct));
+    assertEquals("Wrong value for correct: ", 50, 
(int)Math.floor(evaluation.macroMeasuresOfResults.correct));
     assertEquals("Wrong value for partial: ", 12, 
(int)Math.floor(evaluation.macroMeasuresOfResults.partialCor));
     assertEquals("Wrong value for spurious: ", 24, 
(int)Math.floor(evaluation.macroMeasuresOfResults.spurious));
-    assertEquals("Wrong value for missing: ", 30, 
(int)Math.floor(evaluation.macroMeasuresOfResults.missing));
+    assertEquals("Wrong value for missing: ", 32, 
(int)Math.floor(evaluation.macroMeasuresOfResults.missing));
     // Remove the resources
     clearOneTest();
     System.out.println(" completed");

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to