class library: Reset has been renamed to OnError
[supercollider.git] / testsuite / supernova / buffer_manager_test.cpp
blobd3200f51b72834af51944bc3a15c1d58319fdabb
1 #include <iostream>
2 #include <boost/test/unit_test.hpp>
4 #include "server/buffer_manager.cpp"
7 using namespace nova;
10 BOOST_AUTO_TEST_CASE( buffer_manager_test )
12 buffer_manager bm(1024);
13 bm.allocate_buffer(0, 44100, 2);
14 bm.zero_buffer(0);
15 bm.fill_samples(0, 0, 882000, 0.2);
16 bm.free_buffer(0);