Sha256: 7745a376c4bd6ba1faf7554a069ace63c21c17491a4c4373b269def673468946

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

require "helper"

class TestEmitter < Test::Unit::TestCase
  def test_emitter_e
    assert_equal ["2", "2"], e("2", "2")
  end
  
  def test_emitter_le
    assert_equal [:c, "2", "2"], le("2", "2")
  end
  
  def test_emitter_be
    assert_equal [:b, "2", "2"], se("2", "2")
  end
  
  def test_emitter_be_with_subexpression
    assert_equal [:b, [:c,"2", "2"]], se(le("2", "2"))
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tickly-2.1.7 test/test_emitter.rb