cleanup, naming: 'KEStore_Elems' in Tests now 'Test_KEStore_Elems', 'store_pbts' now 'add_pbts'
1 theory Thy_1 imports Lucas_Interpreter begin
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 *)*)
9 setup {* Test_KEStore_Elems.add_rlss [("test_list_rls", (Context.theory_name @{theory}, Erls))] *}
11 (*test_ruleset' := overwritelthy @{theory} (! test_ruleset', [("test_list_rls", Erls)])
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"*)
17 setup {* Test_KEStore_Elems.add_calcs [("calc", ("Thy_1", e_evalfn))] *}