Sha256: f00d20ba0dde391da732f7c50af3fcfd50b0626b98f64f81d0c5c1b8320b8121
Contents?: true
Size: 491 Bytes
Versions: 6
Compression:
Stored size: 491 Bytes
Contents
require "spec_helper" require "shared_implementation" describe Sjekksum::Damm do success_spec_matrix = [ [ 1, 3 ], [ 20, 7 ], [ 300, 9 ], [ 4000, 7 ], [ 55555, 5 ], [ 424242, 0 ], [ 572, 4 ], [ "572", 4 ], [ "5.7-2", 4 ] ] fail_spec_matrix = [ [ 1, 1 ], [ 572, 9 ], [ "572", 9 ], [ "5.7-2", 9 ] ] it_behaves_like "a checksum implementation:", success_spec_matrix, fail_spec_matrix end
Version data entries
6 entries across 6 versions & 1 rubygems