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
233 B
Go
15 lines
233 B
Go
3 years ago
|
package sun
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
func TestSun(t *testing.T) {
|
||
|
now := time.Now()
|
||
|
fmt.Println(RiseTime(now, 115, 40, 0, true))
|
||
|
fmt.Println(CulminationTime(now, 115))
|
||
|
fmt.Println(DownTime(now, 115, 40, 0, true))
|
||
|
}
|