summaryrefslogtreecommitdiff
path: root/Examples/test-suite/matlab/imports_runme.m
blob: 54fcfb5b9e3066d53817e363e36d261575668d12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
% This is the import runtime testcase.

  x = imports_b.B();
  x.hello();

  a = imports_a.A();

  c = imports_b.C();
  a1 = c.get_a(c);
  a2 = c.get_a_type(c);

  a1.hello();
  a2.hello();
% no swig_this yet
%  assert(swig_this(a1)==swig_this(a2));
%  assert(strcmp(swig_type(a1),swig_type(a2)));