From 16c7ef3142b49a7a9aa75ea06ec45ee6dfa39fb3 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 17 Sep 2013 20:28:09 +0100 Subject: [PATCH] Fix lost code in branch merge --- Examples/test-suite/csharp/special_variable_macros_runme.cs | 2 ++ Examples/test-suite/python/special_variable_macros_runme.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Examples/test-suite/csharp/special_variable_macros_runme.cs b/Examples/test-suite/csharp/special_variable_macros_runme.cs index 83a99e456..1845cd074 100644 --- a/Examples/test-suite/csharp/special_variable_macros_runme.cs +++ b/Examples/test-suite/csharp/special_variable_macros_runme.cs @@ -16,6 +16,8 @@ public class runme { throw new Exception("test failed"); if (special_variable_macros.testJim(name) != "multiname num") throw new Exception("test failed"); + if (special_variable_macros.testJohn(new PairIntBool(10, false)) != 123) + throw new Exception("test failed"); NewName newName = NewName.factory("factoryname"); name = newName.getStoredName(); } diff --git a/Examples/test-suite/python/special_variable_macros_runme.py b/Examples/test-suite/python/special_variable_macros_runme.py index 58be0e239..eaf9c1858 100644 --- a/Examples/test-suite/python/special_variable_macros_runme.py +++ b/Examples/test-suite/python/special_variable_macros_runme.py @@ -13,4 +13,6 @@ if special_variable_macros.testJames(name) != "SWIGTYPE_Name": raise "test failed" if special_variable_macros.testJim(name) != "multiname num": raise "test failed" +if special_variable_macros.testJohn(special_variable_macros.PairIntBool(10, False)) != 123: + raise "test failed"