From 8a129235b9972933390cdbfeba91512d93e5ca65 Mon Sep 17 00:00:00 2001 From: Matt Bauman Date: Sun, 9 Aug 2015 16:19:36 -0400 Subject: [PATCH] 100% line coverage (Some branches are missing coverage since they would require 2^32 or 2^64 bits of storage in order to test completely) --- test/test_intset.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_intset.jl b/test/test_intset.jl index 65bb847e6..6dc573949 100644 --- a/test/test_intset.jl +++ b/test/test_intset.jl @@ -76,6 +76,8 @@ c4 = complement(s1) @test c1 == c2 == c3 == c4 @test c4 === sizehint(c4, 100) @test c1 == c4 +@test last(c1) == typemax(Int)-1 +@test last(complement(IntSet())) == typemax(Int)-1 # Push, union s1 = IntSet()