Sha256: b9f6db076071fb3fd21e7f7675e76411e224a1e199349f55b6a4101406fcc989

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper.rb'

require 'ostruct'

class TestUtil < Test::Unit::TestCase

  def setup
  end

  def test_types_to_template
    tpl = StructPacking::Util.types_to_template(["int", "char"])

    assert_equal("ic", tpl)

  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
struct_packing-0.0.2 test/struct_packing/test_util.rb