@testset "611.valid-triangle-number.jl" begin
    @test triangle_number([2, 2, 3, 4]) == 3
    @test triangle_number([41, 17, 10, 29, 28, 40, 3, 48, 52, 52, 16, 8, 31, 16, 35, 6, 58,
                           26, 19, 7, 58, 32, 10, 49, 20, 53, 39, 43, 36, 11, 40, 37, 8, 20,
                           29, 21, 54, 60, 52, 40, 54, 5, 48, 50, 42, 17, 11, 48, 18, 5]) ==
          9751
end
