move std::multimap tests from li_std_map.i into new li_std_multimap.i

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2009-05-12 17:24:01 +00:00
commit 267ffd6ce6
5 changed files with 31 additions and 12 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
#
# Tests for std::map and std::multimap
# Tests for std::map
#
#
#
@ -41,15 +41,6 @@ m["foo"] = "hello"
pm = Li_std_map::LanguageMap.new
m.each_key { |k| pm[k] = m[k] }
m.each_key { |k| swig_assert_equal("pm[#{k.inspect}]", "m[#{k.inspect}]", binding) }
m = Li_std_map::MmapA.new
m[0] = a1
m[0] = a2
m[0].size == 2
m.respond_to?(:each) == true
m.respond_to?(:each_key) == true
m.respond_to?(:each_value) == true
m.values_at(0)[0] == m[0]
EOF
mii = Li_std_map::Mapii.new