Add template_default_cache runtime tests
Also correct illegal C++ namespace names
This commit is contained in:
parent
6f54a00db7
commit
6db71c690a
3 changed files with 34 additions and 7 deletions
|
|
@ -0,0 +1,9 @@
|
|||
import template_default_cache
|
||||
|
||||
ap = template_default_cache.get_mp_a();
|
||||
bp = template_default_cache.get_mp_b();
|
||||
|
||||
if not isinstance(ap, template_default_cache.AModelPtr):
|
||||
raise RuntimeError("get_mp_a fail")
|
||||
if not isinstance(bp, template_default_cache.BModelPtr):
|
||||
raise RuntimeError("get_mp_b fail")
|
||||
Loading…
Add table
Add a link
Reference in a new issue