Sha256: f0c85acc665c50a0fd9c05c9fc4e4701a311676874f4e8fd5809ebfa31554409

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

require 'rumai/inochi'

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

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rumai-3.2.1 test/rumai/inochi_test.rb