diff unit-tests/BTrack Tests/main.cpp @ 89:5ef334c782f3

Moved some parts of the algorithm from arrays needing lots of data moved around to lighted circular buffers
author Adam Stark <adamstark.uk@gmail.com>
date Fri, 04 Mar 2016 18:10:23 +0000
parents b6d440942ff6
children
line wrap: on
line diff
--- a/unit-tests/BTrack Tests/main.cpp	Sat Jan 30 23:55:13 2016 +0000
+++ b/unit-tests/BTrack Tests/main.cpp	Fri Mar 04 18:10:23 2016 +0000
@@ -1,3 +1,23 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_MODULE BTrackTests
-#include <boost/test/unit_test.hpp>
\ No newline at end of file
+#include <boost/test/unit_test.hpp>
+
+//#include "CircularBuffer.h"
+//#include <iostream>
+//
+//int main()
+//{
+//    CircularBuffer buffer;
+//    
+//    buffer.resize(10);
+//    
+//    buffer.addSampleToEnd(10);
+//    buffer.addSampleToEnd(8);
+//    
+//    for (int i = 0;i < 10;i++)
+//    {
+//        std::cout << buffer[i] << std::endl;
+//    }
+//    
+//    return 0;
+//}
\ No newline at end of file