Skip to content

Commit 5663c2c

Browse files
test(baseparams): add test for calc_equivalent_alpha with Measurement input
1 parent 6a14401 commit 5663c2c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/baseparams.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ insulator_props = Material(1e14, 2.3, 1.0, 20.0, 0.0) # Basic insulator (like PE
2525
TEST_TOL
2626
# No correction if alpha is zero
2727
@test calc_temperature_correction(0.0, 50.0, T0) 1.0 atol = TEST_TOL
28+
@test @inferred(calc_equivalent_alpha(measurement(0.5), 100.0, 0.8, 200.0)) isa Measurement{Float64}
29+
2830
end
2931

3032
@testset "Parallel impedance calculations" begin

0 commit comments

Comments
 (0)