File tree 1 file changed +10
-11
lines changed
1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -127,24 +127,23 @@ end
127
127
end
128
128
129
129
@testset " Confidence Intervals" begin
130
- # Making sure a confidence interval has changed from infinity to a valid number
131
- @test isinf (lb1) == false && isinf (ub1) == false
132
- @test isinf (lb2) == false && isinf (ub2) == false
133
- @test isinf (lb3) == false && isinf (ub3) == false
134
- @test isinf (lb4) == false && isinf (ub4) == false
135
- @test isinf (lb6) == false && isinf (ub6) == false
136
- @test isinf (lb7) == false && isinf (ub7) == false
137
- @test isinf (lb8) == false && isinf (ub8) == false
130
+ @test lb1 isa Real && ub1 isa Real
131
+ @test lb2 isa Real && ub2 isa Real
132
+ @test lb3 isa Real && ub3 isa Real
133
+ @test lb4 isa Real && ub4 isa Real
134
+ @test lb6 isa Real && ub6 isa Real
135
+ @test lb7 isa Real && ub7 isa Real
136
+ @test lb8 isa Real && ub8 isa Real
138
137
end
139
138
140
139
@testset " All Quantities of Interest" begin
141
- @test isinf ( lb11) == false && isinf ( ub11) == false
140
+ @test lb11 isa Real && ub11 isa Real
142
141
@test 1 >= p11 >= 0
143
142
@test stderr11 > 0
144
- @test isinf ( lb44) == false && isinf ( ub44) == false
143
+ @test lb44 isa Real && ub44 isa Real
145
144
@test 1 >= p44 >= 0
146
145
@test stderr44 > 0
147
- @test isinf ( lb66) == false && isinf ( ub66) == false
146
+ @test lb66 isa Real && ub66 isa Real
148
147
@test 1 >= p66 >= 0
149
148
@test stderr66 > 0
150
149
end
You can’t perform that action at this time.
0 commit comments