[mlpack] [mlpack/mlpack] Implementation of ne_test.cpp. (#822)

Marcus Edel notifications at github.com
Thu Dec 1 10:40:02 EST 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://knife.lugatgt.org/pipermail/mlpack/attachments/20161201/de28fe4f/attachment-0001.html>


More information about the mlpack mailing list