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.
16 lines
327 B
Go
16 lines
327 B
Go
package basic
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func Test_Ra(t *testing.T) {
|
|
ra, dec := UranusApparentRaDec(2456789.12345)
|
|
fmt.Printf("%.14f\n%.14f\n", ra, dec)
|
|
fmt.Println(UranusMag(2456789.12345))
|
|
ra, dec = NeptuneApparentRaDec(2456789.12345)
|
|
fmt.Printf("%.14f\n%.14f\n", ra, dec)
|
|
fmt.Println(NeptuneMag(2456789.12345))
|
|
}
|