Sha256: 9958bd156625c368f6c96865d42639eba2b2ae9eeee008a84f60629c121366ef
Contents?: true
Size: 527 Bytes
Versions: 65
Compression:
Stored size: 527 Bytes
Contents
#!/usr/bin/env ruby $: << File.expand_path('../lib', File.dirname(__FILE__)) require 'test/unit' require 'spreadsheet' module Spreadsheet module Excel class TestWorkbook < Test::Unit::TestCase def test_password_hashing hashing_module = Spreadsheet::Excel::Password # Some examples found on the web assert_equal(0xFEF1, hashing_module.password_hash('abcdefghij')) assert_equal(hashing_module.password_hash('test'), hashing_module.password_hash('zzyw')) end end end end
Version data entries
65 entries across 65 versions & 3 rubygems