Sha256: e975173bb2f71610cb52a201815bb6fa7260487ab2f51450d747598bb81bb8eb
Contents?: true
Size: 375 Bytes
Versions: 2
Compression:
Stored size: 375 Bytes
Contents
require 'helper' class FunctionGroupTest < Test::Unit::TestCase context 'A FunctionGroup' do setup do # namespacecv_xml = Dub.parse(fixture('namespacecv.xml')) @group = namespacecv_xml[:cv][:divide] end should 'keep its members sorted by overloaded_index' do assert_equal [1, 2, 3, 4], @group.map {|f| f.overloaded_index} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dub-0.5.1 | test/function_group_test.rb |
dub-0.5.0 | test/function_group_test.rb |