From bc090e56abe40a1be2952e0e8a96f761258c3df1 Mon Sep 17 00:00:00 2001 From: co1emi11er2 Date: Sat, 30 Nov 2024 20:34:17 -0600 Subject: [PATCH] add tests --- test/runtests.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index 0542890..5b07960 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -12,4 +12,10 @@ using Test @test TestHandcalcFunctions.calculate_Ix(5, 15) == 1406.25 @test TestHandcalcFunctions.calc_Is(5, 15) == (1406.25, 156.25) @test TestHandcalcFunctions.sym_function(:hello) == :hello + @test TestHandcalcFunctions.SubA.SubB.sub_module_func(5, 6) == 11 + @test TestHandcalcFunctions.where_func(5, 6) == 11 + @test TestHandcalcFunctions.calc_if_Is_1(5, 15, :Iy) == 156.25 + @test TestHandcalcFunctions.calc_if_Is_1(5, 15, :Ix) == 1406.25 + @test TestHandcalcFunctions.calc_if_Is_2(5, 15, :Ix) == 1406.25 + @test TestHandcalcFunctions.calc_if_Is_2(5, 15, :Iy) == 156.25 end