• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

technion / ruby-argon2 / 13153238078

05 Feb 2025 08:24AM UTC coverage: 99.342%. Remained the same
13153238078

push

github

technion
Version bump to make new release

302 of 304 relevant lines covered (99.34%)

118.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/test/engine_test.rb
1
# frozen_string_literal: true
2

3
require 'test_helper'
4✔
4

5
class EngineTest < Minitest::Test
4✔
6
  def test_saltgen
4✔
7
    generate = []
4✔
8
    assert(10.times { generate << Argon2::Engine.saltgen })
44✔
9
    duplicates = generate.select { |e| generate.count(e) > 1 }
44✔
10
    assert_equal duplicates.length, 0
4✔
11
    wrong_length = generate.reject do |e|
4✔
12
      e.length == Argon2::Constants::SALT_LEN
40✔
13
    end
14
    assert_equal wrong_length.size, 0
4✔
15
  end
16
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc