blob: 42a5e23a786e0ee7809756c5102f0830a0f5c2f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#!/usr/bin/env ruby
#
# Put description here
#
#
#
#
#
require 'swig_assert'
require 'namespace_typemap'
include Namespace_typemap
raise RuntimeError if stest1("hello") != "hello"
raise RuntimeError if stest2("hello") != "hello"
raise RuntimeError if stest3("hello") != "hello"
raise RuntimeError if stest4("hello") != "hello"
raise RuntimeError if stest5("hello") != "hello"
raise RuntimeError if stest6("hello") != "hello"
raise RuntimeError if stest7("hello") != "hello"
raise RuntimeError if stest8("hello") != "hello"
raise RuntimeError if stest9("hello") != "hello"
raise RuntimeError if stest10("hello") != "hello"
raise RuntimeError if stest11("hello") != "hello"
raise RuntimeError if stest12("hello") != "hello"
begin
ttest1(-14)
raise RuntimeError
rescue RangeError
end
|