You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
astro/basic/planet_test.go

16 lines
327 B
Go

5 years ago
package basic
import (
"fmt"
"testing"
)
func Test_Ra(t *testing.T) {
ra, dec := UranusApparentRaDec(2456789.12345)
5 years ago
fmt.Printf("%.14f\n%.14f\n", ra, dec)
fmt.Println(UranusMag(2456789.12345))
ra, dec = NeptuneApparentRaDec(2456789.12345)
5 years ago
fmt.Printf("%.14f\n%.14f\n", ra, dec)
fmt.Println(NeptuneMag(2456789.12345))
}