Revision: 14811
          http://gate.svn.sourceforge.net/gate/?rev=14811&view=rev
Author:   markagreenwood
Date:     2011-12-20 08:50:34 +0000 (Tue, 20 Dec 2011)
Log Message:
-----------
added another test

Modified Paths:
--------------
    
gate/trunk/plugins/Tagger_Measurements/test/src/gate/creole/measurements/MeasurementsTest.java

Modified: 
gate/trunk/plugins/Tagger_Measurements/test/src/gate/creole/measurements/MeasurementsTest.java
===================================================================
--- 
gate/trunk/plugins/Tagger_Measurements/test/src/gate/creole/measurements/MeasurementsTest.java
      2011-12-20 08:49:29 UTC (rev 14810)
+++ 
gate/trunk/plugins/Tagger_Measurements/test/src/gate/creole/measurements/MeasurementsTest.java
      2011-12-20 08:50:34 UTC (rev 14811)
@@ -48,4 +48,13 @@
     assertEquals("m", m.getNormalizedUnit());
     assertEquals(6d, m.getValue());
   }
+  
+  public void test6Inches() {
+    Measurement m = parser.parse(6d, "inches");
+    assertNotNull(m);
+    
+    assertEquals("m", m.getNormalizedUnit());
+    assertEquals(6d, m.getValue());
+  }
+  
 }

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


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to