test/Tools/isac/ADDTESTS/accumulate-val/Thy_1.thy
author Mathias Lehnfeld <s1210629013@students.fh-hagenberg.at>
Mon, 27 Jan 2014 21:49:27 +0100
changeset 55359 73dc85c025ab
parent 52156 aa0884017d48
child 59410 2cbb98890190
permissions -rw-r--r--
cleanup, naming: 'KEStore_Elems' in Tests now 'Test_KEStore_Elems', 'store_pbts' now 'add_pbts'
     1 theory Thy_1 imports Lucas_Interpreter begin
     2 
     3 ML {* 
     4   (* CHECK length (Test_KEStore_Elems.get_rlss @{theory}) = length (! ruleset') 
     5     AT THE BOTTOM OF A THEORY:*)
     6   length (Test_KEStore_Elems.get_rlss @{theory}) = 0;
     7 (*length (! test_ruleset')                  = 1 (* if you have clicked somewhere below *)*)
     8 *}
     9 setup {* Test_KEStore_Elems.add_rlss [("test_list_rls", (Context.theory_name @{theory}, Erls))] *}
    10 ML {* 
    11 (*test_ruleset' := overwritelthy @{theory} (! test_ruleset', [("test_list_rls", Erls)])
    12   ;
    13   if length (Test_KEStore_Elems.get_rlss @{theory}) = length (! test_ruleset') then ()
    14     else error "removal of Unsynchonized.ref: ruleset' <> Test_KEStore_Elems.get_rlss in Thy_1"*)
    15 *}
    16 
    17 setup {* Test_KEStore_Elems.add_calcs [("calc", ("Thy_1", e_evalfn))] *}
    18 
    19 end