Xcos MVC: fix Diagrams's 'objs' property getter and setter
[scilab.git] / scilab / modules / scicos / tests / unit_tests / model / Diagram.tst
index 5c6d711..079269b 100644 (file)
@@ -13,3 +13,11 @@ scs_m.props
 scs_m.objs
 scs_m.version
 scs_m.contrib
+
+// Create a diagram containing 2 summation blocks and an empty link
+blk  = BIGSOM_f("define");
+blk2 = BIGSOM_f("define");
+lnk  = scicos_link();
+
+scs_m = scicos_diagram( objs=list(blk,blk2,lnk) )
+scs_m.objs