Savarese Software Research Corporation

com.savarese.spatial
Class EuclideanDistanceTest

java.lang.Object
  extended by TestCase
      extended by com.savarese.spatial.EuclideanDistanceTest

public class EuclideanDistanceTest
extends TestCase

EuclideanDistanceTest tests the EuclideanDistance class.


Constructor Summary
EuclideanDistanceTest()
           
 
Method Summary
 void testDistance()
          Computes the square of the distance and distance between assorted GenericPoint instances, verifying the results equal the expected values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EuclideanDistanceTest

public EuclideanDistanceTest()
Method Detail

testDistance

public void testDistance()
Computes the square of the distance and distance between assorted GenericPoint instances, verifying the results equal the expected values.


Savarese Software Research Corporation

Copyright © 2001-2005 Daniel F. Savarese
Copyright © 2006-2010 Savarese Software Research Corporation