Sha256: a8994c3f8123ef7a5512f612e3fdbc3db98ed6b1ebdeb63143b8e48f5707fd2b

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

require 'dfect/inochi'

unless defined? Dfect::INOCHI
  fail "Dfect module must be established by Inochi"
end

Dfect::INOCHI.each do |param, value|
  const = param.to_s.upcase

  unless Dfect.const_defined? const
    fail "Dfect::#{const} must be established by Inochi"
  end

  unless Dfect.const_get(const) == value
    fail "Dfect::#{const} is not what Inochi established"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dfect-2.0.0 test/dfect/inochi_test.rb