local v=require("typemap_template_typedef")

local x = v.XXXInt()
assert(x:aa1(0) == 0)
assert(x:aa2(0) == 55)
assert(x:aa3(0) == 0)
assert(v.aa1(0) == 0)
assert(v.aa2(0) == 0)
assert(x:bb1(0) == 0)
assert(x:bb2(0) == 66)
assert(x:bb3(0) == 0)
assert(v.bb1(0) == 0)
assert(v.bb2(0) == 0)
assert(x:cc1(0) == 0)
assert(x:cc2(0) == 77)
assert(x:cc3(0) == 77)
assert(v.cc1(0) == 0)
assert(v.cc2(0) == 0)
assert(x:dd1(0) == 0)
assert(x:dd2(0) == 88)
assert(x:dd3(0) == 0)
assert(v.dd1(0) == 0)
assert(v.dd2(0) == 0)
