diff --git a/test/runtests.jl b/test/runtests.jl index 40fac53..ba4e352 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,11 +1,11 @@ using TinyHugeNumbers using Test -@testset "TinyHugeNumbers.jl" begin +import TinyHugeNumbers: TinyNumber, HugeNumber - import TinyHugeNumbers: TinyNumber, HugeNumber +struct ArbitraryFloatType <: AbstractFloat end - struct ArbitraryFloatType <: AbstractFloat end +@testset "TinyHugeNumbers.jl" begin Base.eps(::Type{ ArbitraryFloatType }) = 0.1 Base.convert(::Type{ ArbitraryFloatType }, ::Integer) = ArbitraryFloatType() # for testing