Hello, writing tests in mlpack is done with the Boost Unit Test Framework:
http://www.boost.org/doc/libs/1_58_0/libs/test/doc/html/utf.html If you make a
test suite called "TestSuite" (BOOST_AUTO_TEST_SUITE(TestSuite)), and then
build ``mlpack_test`` (``make mlpack_test``), you can run only the tests in
that test suite with ``bin/mlpack_test -t TestSuite``. A specific test case
called 'TestCase' (BOOST_AUTO_TEST_CASE(TestCase)) could be run with
'bin/mlpack_test -t TestSuite/TestCase'.
So once you build Bang's ne branch you can run the complete test suite "NETest"
with ``bin/mlpack_test -t NETest`` and the NEAT xor test case with
``bin/mlpack_test -t NETest/NENeatXorTest``. Let us know if that helps and if
we should clarify anything.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/822#issuecomment-264206473
_______________________________________________
mlpack mailing list
[email protected]
http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack