OSDN Git Service

[1] Updated.
authorU-tackya-PC\tackya <yammouch@users.sourceforge.jp>
Sun, 7 Aug 2011 04:06:09 +0000 (13:06 +0900)
committerU-tackya-PC\tackya <yammouch@users.sourceforge.jp>
Sun, 7 Aug 2011 04:06:09 +0000 (13:06 +0900)
test/graph.clj

index 387217e..28163e8 100755 (executable)
                           [[e-7]         [out-8 out z] []   ]
                           [[e-1 e-3]     [?x1 and2]    [?x2]]
                           [[?x2 e-5]     [?a8 and2]    [e-7]]
-                          ]))))
+                          ])))))
+
+(deftest test-replace
   (let [gr (struct gr/graph 7
                    '[[[]    [in-0 in a]   [e-1]]
                      [[e-1] [not1-2 not1] [e-3]]
               (um/unify (:conns aft-gr)
                         '[[[]    [in-0 in a]   [?x1]]
                           [[?x1] [out-6 out z] []   ]
-                          ]))))
-)
+                          ])))))
 
 (run-tests)