From 87dc10690035b02485067f2b0b77bcb0459da42b Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 9 Jul 2012 12:46:54 -0600 Subject: Started pic test. --- src/tests/pic.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'src/tests') diff --git a/src/tests/pic.cpp b/src/tests/pic.cpp index 89bfcaf..95bb523 100644 --- a/src/tests/pic.cpp +++ b/src/tests/pic.cpp @@ -1,7 +1,33 @@ #include "neural/network.h" +#include "neural/column.h" +#include "neural/row.h" +#include "neural/neuron.h" int main( int argc, char *argv[] ) { + Neural::Column *c = new Neural::Column(); + Neural::Row *r1 = new Neural::Row(); + r1->addNode( new Neural::Neuron() ); + r1->addNode( new Neural::Neuron() ); + r1->addNode( new Neural::Neuron() ); + r1->addNode( new Neural::Neuron() ); + r1->addNode( new Neural::Neuron() ); + c->addNode( r1 ); + Neural::Row *r2 = new Neural::Row(); + r2->addNode( new Neural::Neuron() ); + r2->addNode( new Neural::Neuron() ); + r2->addNode( new Neural::Neuron() ); + r2->addNode( new Neural::Neuron() ); + r2->addNode( new Neural::Neuron() ); + r2->addNode( new Neural::Neuron() ); + r2->addNode( new Neural::Neuron() ); + c->addNode( r2 ); + Neural::Row *r3 = new Neural::Row(); + r3->addNode( new Neural::Neuron() ); + r3->addNode( new Neural::Neuron() ); + r3->addNode( new Neural::Neuron() ); + c->addNode( r3 ); + return 0; } -- cgit v1.2.3