test/Tools/isac/ADDTESTS/accumulate-val/Thy_All.thy
author Mathias Lehnfeld <s1210629013@students.fh-hagenberg.at>
Mon, 27 Jan 2014 21:49:27 +0100
changeset 55359 73dc85c025ab
parent 52146 f47e195af9a3
child 59410 2cbb98890190
permissions -rw-r--r--
cleanup, naming: 'KEStore_Elems' in Tests now 'Test_KEStore_Elems', 'store_pbts' now 'add_pbts'
neuper@52146
     1
theory Thy_All imports Thy_3 Thy_5 begin
neuper@48794
     2
neuper@48801
     3
ML {*
s1210629013@55359
     4
Test_KEStore_Elems.get_rlss @{theory}
neuper@52139
     5
(*|> map check_kestore_rls 
neuper@52139
     6
  |> enumerate_strings
neuper@52139
     7
  |> map writeln*)
neuper@52139
     8
(*
neuper@52146
     9
(rls2, (Thy_4, Erls))--1 
neuper@52146
    10
(rls1, (Thy_4, Erls))--2 
neuper@52139
    11
(rls, (Thy_5, Erls))--3 
neuper@52139
    12
(test_list_rls, (Thy_3, Rls {#calc = 0, #rules = 1, ...))--4 
neuper@52139
    13
*)
neuper@52146
    14
;
s1210629013@55359
    15
case Test_KEStore_Elems.get_rlss @{theory} of
neuper@52139
    16
  ("rls2", ("Thy_4", Erls)) :: ("rls1", ("Thy_4", Erls)) :: _ => ()
s1210629013@55359
    17
| _ => raise error "Test_KEStore_Elems.get_rlss changed"
neuper@52118
    18
;
s1210629013@55359
    19
case Test_KEStore_Elems.get_calcs @{theory} of
neuper@52118
    20
  [("calc", ("Thy_1", _))] => ()
s1210629013@55359
    21
| _ => raise error "Test_KEStore_Elems.get_calcs changed"
neuper@48794
    22
*}
neuper@48794
    23
neuper@48794
    24
end