tests
Class LocationTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bytests.LocationTest
All Implemented Interfaces:
junit.framework.Test

public class LocationTest
extends junit.framework.TestCase

Tests the Location class.

Author:
Piotrek

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
LocationTest()
           
 
Method Summary
 void testGetDistance()
          Tests the distance solver.
 void testIsEqual()
          Tests the equality test.
 void testIsInRange()
          Tests the `is in range' test.
 void testLocation()
          Tests the constructor.
 
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
 

Constructor Detail

LocationTest

public LocationTest()
Method Detail

testLocation

public void testLocation()
Tests the constructor.


testIsEqual

public void testIsEqual()
Tests the equality test.


testGetDistance

public void testGetDistance()
Tests the distance solver.


testIsInRange

public void testIsInRange()
Tests the `is in range' test.