test/Tools/isac/Interpret/script.sml
changeset 59549 e0e3d41ef86c
parent 59540 98298342fb6d
child 59559 f25ce1922b60
equal deleted inserted replaced
59548:d44ce0c098a0 59549:e0e3d41ef86c
   614 
   614 
   615 val PblObj {meth, spec = (thy, _ , metID), ...} = get_obj I pt''''' (fst p''''');
   615 val PblObj {meth, spec = (thy, _ , metID), ...} = get_obj I pt''''' (fst p''''');
   616 "~~~~~ fun init_scrstate , args:"; val (thy, itms, metID) = (assoc_thy thy, meth, metID);
   616 "~~~~~ fun init_scrstate , args:"; val (thy, itms, metID) = (assoc_thy thy, meth, metID);
   617 val (ScrState st, ctxt, Prog _) = init_scrstate thy itms metID;
   617 val (ScrState st, ctxt, Prog _) = init_scrstate thy itms metID;
   618 if scrstate2str st =
   618 if scrstate2str st =
   619 "([\"\n(l, L)\",\"\n(q, q_0)\",\"\n(v, x)\",\"\n(id_abl, dy)\",\"\n(b, y)\",\"\n(s, [y 0 = 0, y L = 0, M_b 0 = 0, M_b L = 0])\",\"\n(vs, [c, c_2, c_3, c_4])\"], [], NONE, \n??.empty, Safe, true)"
   619 "([\"\n(l, L)\",\"\n(q, q_0)\",\"\n(v, x)\",\"\n(b, dy)\",\"\n(s, [y 0 = 0, y L = 0, M_b 0 = 0, M_b L = 0])\",\"\n(vs, [c, c_2, c_3, c_4])\",\"\n(id_abl, y)\"], [], NONE, \n??.empty, Safe, true)"
   620 then () else error "init_scrstate changed for Biegelinie";
   620 then () else error "init_scrstate changed for Biegelinie";
   621 
   621 
   622 (*[1], Pbl*)val (p,_,f,nxt,_,pt) = me nxt''''' p''''' c pt'''''; (*nxt = Model_Problem*)
   622 (*[1], Pbl*)val (p,_,f,nxt,_,pt) = me nxt''''' p''''' c pt'''''; (*nxt = Model_Problem*)
   623 if p = ([1], Pbl) andalso (fst nxt) = "Model_Problem" then ()
   623 if p = ([1], Pbl) andalso (fst nxt) = "Model_Problem" then ()
   624 else error "modeling root-problem of Biegelinie 7.70 changed";
   624 else error "modeling root-problem of Biegelinie 7.70 changed";