edu.pdx.starview.apps
Class JUnitCalculationTests

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byedu.pdx.starview.apps.JUnitCalculationTests
All Implemented Interfaces:
junit.framework.Test

public class JUnitCalculationTests
extends junit.framework.TestCase

JUnit test cases to test various backend calculations of values.

Author:
Dave Camarillo

Constructor Summary
JUnitCalculationTests(java.lang.String n)
           
 
Method Summary
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 void testEquatorial2Hor()
           
 void testLocalSidrealTime()
           
 void testNutation()
           
 void testPercision()
           
 void testPlanetLocations()
          Note: it's easiest to check these values with MyStars since it gives very detailed numbers
 void testRefraction()
           
 void testSVAngle()
           
 void testSVTime()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JUnitCalculationTests

public JUnitCalculationTests(java.lang.String n)
Method Detail

main

public static void main(java.lang.String[] args)

suite

public static junit.framework.Test suite()

testSVTime

public void testSVTime()

testSVAngle

public void testSVAngle()

testPlanetLocations

public void testPlanetLocations()
Note: it's easiest to check these values with MyStars since it gives very detailed numbers


testPercision

public void testPercision()

testNutation

public void testNutation()

testEquatorial2Hor

public void testEquatorial2Hor()

testLocalSidrealTime

public void testLocalSidrealTime()

testRefraction

public void testRefraction()