Skip to content

Commit

Permalink
fix for Julia v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bvdmitri committed Apr 23, 2024
1 parent 73a3af4 commit 31a00d8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ using TinyHugeNumbers, Aqua, Test

Aqua.test_all(TinyHugeNumbers, deps_compat=(; check_extras=false, check_weakdeps=true))

@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

Expand Down

0 comments on commit 31a00d8

Please sign in to comment.