Document patch #33 from previous commit and complete run time tests
This commit is contained in:
parent
9be3235988
commit
439a353a36
7 changed files with 26 additions and 0 deletions
|
|
@ -12,6 +12,8 @@ public class runme {
|
|||
throw new Exception("test failed");
|
||||
if (special_variable_macros.testMary(name) != "SWIGTYPE_p_NameWrap")
|
||||
throw new Exception("test failed");
|
||||
if (special_variable_macros.testJames(name) != "SWIGTYPE_Name")
|
||||
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)
|
||||
|
|
|
|||
|
|
@ -24,6 +24,10 @@ void main() {
|
|||
throw new Exception("test failed");
|
||||
}
|
||||
|
||||
if (testJames(name) != "SWIGTYPE_Name") {
|
||||
throw new Exception("test failed");
|
||||
}
|
||||
|
||||
if (testJim(name) != "multiname num") {
|
||||
throw new Exception("test failed");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ void main() {
|
|||
enforce(testJack(name) == "$specialname");
|
||||
enforce(testJill(name) == "jilly");
|
||||
enforce(testMary(name) == "SWIGTYPE_p_NameWrap");
|
||||
enforce(testJames(name) == "SWIGTYPE_Name");
|
||||
enforce(testJim(name) == "multiname num");
|
||||
|
||||
enforce(testJohn(new PairIntBool(10, false)) == 123);
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@ func main() {
|
|||
if special_variable_macros.TestMary(name) != "SWIGTYPE_p_NameWrap" {
|
||||
panic("test failed")
|
||||
}
|
||||
if special_variable_macros.TestJames(name) != "SWIGTYPE_Name" {
|
||||
panic("test failed")
|
||||
}
|
||||
if special_variable_macros.TestJim(name) != "multiname num" {
|
||||
panic("test failed")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ public class special_variable_macros_runme {
|
|||
throw new RuntimeException("test failed");
|
||||
if (!special_variable_macros.testMary(name).equals("SWIGTYPE_p_NameWrap"))
|
||||
throw new RuntimeException("test failed");
|
||||
if (!special_variable_macros.testJames(name).equals("SWIGTYPE_Name"))
|
||||
throw new RuntimeException("test failed");
|
||||
if (!special_variable_macros.testJim(name).equals("multiname num"))
|
||||
throw new RuntimeException("test failed");
|
||||
if (special_variable_macros.testJohn(new PairIntBool(10, false)) != 123)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue