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/star_test.go

15 lines
306 B
Go

5 years ago
package basic
import (
"fmt"
5 years ago
"testing"
)
3 years ago
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))
3 years ago
}