Sha256: e1921805b100a3032da40c7a720b10871c2dbab54bb352479bfe8befd6401928

Contents?: true

Size: 287 Bytes

Versions: 2

Compression:

Stored size: 287 Bytes

Contents

# coding: utf-8

require 'test_helper'

include IRCSupport::Numerics

describe "Numerics" do
  it "should recognize numeric 001" do
    numeric_to_name('001').must_equal 'RPL_WELCOME'
  end
  it "should recognize command" do
    name_to_numeric('RPL_WELCOME').must_equal '001'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ircsupport-0.2.0 test/numerics_test.rb
ircsupport-0.1.0 test/numerics_test.rb