Sha256: c28f4a83c66109d4a09f2238f28e4e6643c279113661e2972d8f0cebe0c91c69

Contents?: true

Size: 252 Bytes

Versions: 1

Compression:

Stored size: 252 Bytes

Contents

require 'ubygems'
require 'crypt.rb'

describe "Computing Hex-Dist" do
  it "should work on hashes" do
    a=Crypt::digest("asdf1")
    b=Crypt::digest("asdf2")
    c=Crypt::digest("asdf3")
    pp a,b,hexDist(a,b)
    pp a,c,hexDist(a,c)
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appswarm-0.0.1 lib/appswarm/spec/hexdist_spec.rb