diff --git a/tests/unit/TemplateTest.test b/tests/unit/RF24NetworkTest.test similarity index 72% rename from tests/unit/TemplateTest.test rename to tests/unit/RF24NetworkTest.test index 35e26b1a..f77dd468 100644 --- a/tests/unit/TemplateTest.test +++ b/tests/unit/RF24NetworkTest.test @@ -16,27 +16,35 @@ #include // Project headers // This component's header -#include +#include +#include + +#include "WProgram.h" + +HardwareSPI SPI(2); + +// Radio on Maple Native w/ Getting Started board +RF24 radio(7,6); +RF24Network network(radio); using namespace std; class TemplateTestSuite: public CxxTest::TestSuite { - Template* pTemplate ; public: void setUp() { - pTemplate = new Template(); + SPI.begin(); + radio.begin(); + network.begin(100,0); } void tearDown() { - delete pTemplate; } void testEmpty( void ) { - TS_ASSERT(pTemplate); } }; // vim:cin:ai:sts=2 sw=2 ft=cpp