diff --git a/test/concrete_generators.jl b/test/concrete_generators.jl index 4de0807..494b42e 100644 --- a/test/concrete_generators.jl +++ b/test/concrete_generators.jl @@ -4,18 +4,18 @@ def_T = Float64 Types_changed = [Bool, Int8, Int16, Int32, Int64, Int128, UInt8, UInt16, UInt32, UInt64, UInt128] - Typtes_unchanged = [ComplexF32, ComplexF64, Complex{Int}, Float32, Float64] + Types_unchanged = [ComplexF32, ComplexF64, Complex{Int}, Float32, Float64] for T in Types_changed IndexFunArrays.default_type(T, Float64) = Float64 for T2 in Types_changed - IndexFunArrays.default_type(T, def_T2) = def_T + @test IndexFunArrays.default_type(T, def_T) == def_T end end - for T in Types_changed + for T in Types_unchanged for T2 in Types_changed - IndexFunArrays.default_type(T, T2) = T + @test IndexFunArrays.default_type(T, T2) == T end end end