summaryrefslogtreecommitdiff
path: root/package.test.lisp
blob: 03de776747345ac9da0b9e1fc0c5254b729f36a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
(defpackage :temperance.test
  (:use :cl :1am))

(defpackage :temperance.test.utils
  (:use
    :cl
    :1am
    :temperance
    :temperance.quickutils)
  (:export
    :fail
    :empty
    :result=
    :results=
    :should-fail
    :should-return
    :define-test
    :%=
    :%not
    :%append
    :%member))

(defpackage :temperance.test.wam
  (:use
    :cl
    :1am
    :temperance.test.utils
    :temperance.quickutils
    :temperance)
  (:import-from :temperance
    :with-database
    :make-database
    :with-fresh-database
    :push-logic-frame-with
    :rule
    :fact
    :facts
    :call
    :dump-wam-full
    :?
    :!
    :query
    :query-all))

(defpackage :temperance.test.99
  (:use
    :cl
    :1am
    :temperance.test.utils
    :temperance.quickutils
    :temperance)
  (:import-from :temperance
    :with-fresh-database
    :push-logic-frame-with
    :rule
    :fact
    :facts
    :call
    :dump-wam-full
    :?
    :!
    :query
    :query-all))

(defpackage :temperance.test.taop
  (:use
    :cl
    :1am
    :temperance.test.utils
    :temperance.quickutils
    :temperance)
  (:import-from :temperance
    :with-fresh-database
    :push-logic-frame-with
    :rule
    :fact
    :facts
    :call
    :dump-wam-full
    :?
    :!
    :query
    :query-all))

(defpackage :temperance.test.circle
  (:use
    :cl
    :1am
    :temperance.test.utils
    :temperance.circle))