Package org.aavso.tools.vstar.util.coords

Examples of org.aavso.tools.vstar.util.coords.RAInfo.toDegrees()


  // Test cases.
 
  public void testRAToDegrees1() {
    RAInfo ra = new RAInfo(EPOCH, 0, 0, 0);
    assertEquals(0.0, ra.toDegrees());
  }

  public void testRAToDegrees2() {
    RAInfo ra = new RAInfo(EPOCH, 15, 2, 3.6);
    assertEquals(225.515, ra.toDegrees());
View Full Code Here


    assertEquals(0.0, ra.toDegrees());
  }

  public void testRAToDegrees2() {
    RAInfo ra = new RAInfo(EPOCH, 15, 2, 3.6);
    assertEquals(225.515, ra.toDegrees());
  }

  public void testRAToDegrees3() {
    RAInfo ra = new RAInfo(EPOCH, -12, 0, 0);
    assertEquals(-180.0, ra.toDegrees());
View Full Code Here

    assertEquals(225.515, ra.toDegrees());
  }

  public void testRAToDegrees3() {
    RAInfo ra = new RAInfo(EPOCH, -12, 0, 0);
    assertEquals(-180.0, ra.toDegrees());
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.