added test for simple virtual derivation, where ruby fails
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e63a259672
commit
baf05fd515
3 changed files with 70 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
require 'virtual_derivation'
|
||||
|
||||
b = Virtual_derivation::B.new 3
|
||||
|
||||
if b.get_a() != b.get_b()
|
||||
print "something is really wrong ", b.get_a(), "\n"
|
||||
raise RuntimeError
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue