github.com/archlabjp/eeslism-go@v0.0.0-20231109122333-4bb7bfcdf292/eeslism/main_test.go (about) 1 package eeslism 2 3 import ( 4 "os" 5 "testing" 6 ) 7 8 func Test_wind16(t *testing.T) { 9 os.Chdir("../Base") 10 Entry("標準プラン.txt") 11 // spd, dir := Wind16(1.0, 1.0) 12 // assert.InDelta(t, 1.4141456, spd, 0.0001) 13 // assert.Equal(t, 180.0+45.0, dir) 14 }