TaylorTest/test/trig_functions.jl
2025-02-10 12:08:26 +01:00

4 lines
176 B
Julia

@testset "trigonometric functions" begin
@test TaylorTest.check(x -> cos(x), x -> -sin(x), 2π * rand())
@test TaylorTest.check(x -> sin(x), x -> cos(x), 2π * rand())
end