We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3a06b8 commit 97b3017Copy full SHA for 97b3017
test/runtests.jl
@@ -372,8 +372,7 @@ end
372
@test trunc(FD3, x) == FD3(x - 0.001)
373
374
for f in 0:12
375
- @test trunc(FD{Int64, f}, x) ==
376
- parse_int(FD{Int64, f}, INTS[x])
+ @test trunc(FD{Int64, f}, x) == parse_int(FD{Int64, f}, INTS[x])
377
end
378
379
@@ -410,8 +409,7 @@ epsi{T}(::Type{T}) = eps(T)
410
409
@test floor(FD3, x) == FD3(x - 0.001)
411
412
413
- @test floor(FD{Int64, f}, x) ==
414
+ @test floor(FD{Int64, f}, x) == parse_int(FD{Int64, f}, INTS[x])
415
416
417
@test ceil(FD3, x) == ceil(FD4, x) == FD4(x)
@@ -423,8 +421,7 @@ epsi{T}(::Type{T}) = eps(T)
423
421
@test ceil(FD3, x) == FD3(x + 0.001)
424
422
425
426
- @test ceil(FD{Int64, f}, x) ==
427
- parse_int(FD{Int64, f}, INTS[x], ceil=true)
+ @test ceil(FD{Int64, f}, x) == parse_int(FD{Int64, f}, INTS[x], ceil=true)
428
429
430
@test floor(FD3, x) == floor(FD4, x) == FD4(x)
0 commit comments