jasi.unittest.sim.geo
Class TestSpeed

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by jasi.unittest.sim.BasicTestCase
              extended by jasi.unittest.sim.geo.TestSpeed
All Implemented Interfaces:
junit.framework.Test

public class TestSpeed
extends BasicTestCase

Testing speeds.


Field Summary
protected  Speed base
          Base time for tests.
 
Constructor Summary
TestSpeed()
           
 
Method Summary
 void testAdding()
          Test addition of Speeds.
 void testCompare()
          Test comparing Speeds.
 void testConversion()
          Test string conversion of Speeds.
 void testMultiplying()
          Test muliplication of times with a factor.
 void testSorting()
          Test sorting of Speeds.
 void testXML()
          Test XML
 
Methods inherited from class jasi.unittest.sim.BasicTestCase
writeAndReadXML, writeAndReadXML
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

base

protected final Speed base
Base time for tests.

Constructor Detail

TestSpeed

public TestSpeed()
Method Detail

testMultiplying

public void testMultiplying()
Test muliplication of times with a factor.


testAdding

public void testAdding()
Test addition of Speeds.


testCompare

public void testCompare()
Test comparing Speeds.


testConversion

public void testConversion()
Test string conversion of Speeds.


testSorting

public void testSorting()
Test sorting of Speeds.


testXML

public void testXML()
Test XML