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.
15 lines
306 B
Go
15 lines
306 B
Go
package basic
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func Test_StarHeight(t *testing.T) {
|
|
date := GetNowJDE() + 6.0/24.0
|
|
fmt.Println(JDE2Date(date))
|
|
fmt.Println("Sirius Height:", StarHeight(date, 101.5, -16.8, 113.5, 22, 8.0))
|
|
fmt.Println("Sirius Azimuth:", StarAzimuth(date, 101.5, -16.8, 113.5, 22, 8.0))
|
|
|
|
}
|