File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 67
67
big_mul = big * x
68
68
# This might overflow: ...
69
69
mul = fd * x
70
- # ... so we truncate big to the same size
71
- @test big_mul. i % T == mul. i % T
70
+ @testset " $fd * $x " begin
71
+ # ... so we truncate big to the same size
72
+ @test big_mul. i % T == mul. i % T
73
+ end
72
74
end
73
75
@testset for v in typemin (FD) : eps (FD) : typemax (FD)
74
76
test_multiplies_correctly (v, typemin (T))
95
97
big_mul = big * x
96
98
# This might overflow: ...
97
99
mul = fd * x
98
- # ... so we truncate big to the same size
99
- @test big_mul. i % T == mul. i % T
100
+ @testset " $fd * $x " begin
101
+ # ... so we truncate big to the same size
102
+ @test big_mul. i % T == mul. i % T
103
+ end
100
104
end
101
105
vals = FD[
102
106
typemin (FD), typemax (FD),
You can’t perform that action at this time.
0 commit comments