We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 605355f commit 0f90096Copy full SHA for 0f90096
1 file changed
test/test-transformations.jl
@@ -31,7 +31,7 @@ using KiteUtils, LinearAlgebra, StaticArrays, Test
31
azimuth = deg2rad(45)
32
@test fromW2SE(vec1, elevation, -azimuth) == [ 1.622480056571193, 2.121320343559643, -2.62060269137249]
33
@test all(fromKS2EX(vec1, orient) .≈ [-1.9999999999999998, 1.878107499419996, 2.544152554510513])
34
- @test calc_heading_w(orient) == [ 0.9510565162951535, 0.0, 0.3090169943749474]
+ @test calc_heading_w(orient) ≈ [ 0.9510565162951535, 0.0, 0.3090169943749474]
35
upwind_dirs = deg2rad.([-150.0, -90.0, -20.0, 45.0, 120.0])
36
elevations = deg2rad.([10.0, 35.0, 71.5, 88.0])
37
azimuths_w = deg2rad.([-170.0, -60.0, 0.0, 35.0, 120.0])
0 commit comments