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