opennars / Narjure

A Clojure implementation of the Non-Axiomatic Reasoning System proposed by Pei Wang.
GNU General Public License v2.0
44 stars 11 forks source link

task creator test + test support #22

Closed marotili closed 8 years ago

marotili commented 8 years ago

This are some initial tests I did regarding the actorrs.

I have found some design issues while testing and will create separate issues for them.

I removed the (run) function in narjure.core, because it didn't work well together with the (autotest) function of midje. I plan to write a test that deploys all actors and shuts them down again to replace the (run) call. Right now starting all actors does not work, because the task-creator is not registered anymore (see separate issue TODO: link issue)

patham9 commented 8 years ago

This pull request can't be merged anymore in this form. But the actor test part of it will become more relevant in the future: https://github.com/mfpi/opennars2/blob/56263948d39666bfbe3afc98d04016ddf6affcb8/src/narjure/actor/test_utils.clj