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
268 B
Go
15 lines
268 B
Go
3 years ago
|
package mercury
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
func TestMercury(t *testing.T) {
|
||
|
date := time.Now().Add(time.Hour * -24)
|
||
|
fmt.Println(CulminationTime(date, 115))
|
||
|
fmt.Println(RiseTime(date, 115, 23, 0, false))
|
||
|
fmt.Println(DownTime(date, 115, 23, 0, false))
|
||
|
}
|