Skip to content

Commit

Permalink
Add missing at test
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielVandH committed Aug 28, 2024
1 parent 389a4cd commit 60b8fc6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ end

@testset "symbolic_to_float" begin
@variables x
symbolic_to_float((1//2 * x)/x) isa Float64
symbolic_to_float((1/2 * x)/x) isa Float64
symbolic_to_float((1//2)*√(279//4)) isa Float64
symbolic_to_float((big(1)//2)*√(279//4)) isa BigFloat
symbolic_to_float((-1//2)*√(279//4)) isa Float64
@test symbolic_to_float((1//2 * x)/x) isa Rational{Int}
@test symbolic_to_float((1/2 * x)/x) isa Float64
@test symbolic_to_float((1//2)*√(279//4)) isa Float64
@test symbolic_to_float((big(1)//2)*√(279//4)) isa BigFloat
@test symbolic_to_float((-1//2)*√(279//4)) isa Float64
end

0 comments on commit 60b8fc6

Please sign in to comment.