summaryrefslogtreecommitdiffstats
path: root/tests/quantize_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/quantize_test.cpp')
-rw-r--r--tests/quantize_test.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/quantize_test.cpp b/tests/quantize_test.cpp
deleted file mode 100644
index cc10505..0000000
--- a/tests/quantize_test.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-#include "raul/Quantizer.hpp"
-#include <iostream>
-
-using namespace std;
-using namespace Raul;
-
-
-int
-main()
-{
- double in = 0;
-
- cout << "Quantization: ";
- cin >> in;
- cout << endl;
-
- TimeStamp q(TimeUnit(TimeUnit::BEATS, 19200), in);
-
- while (true) {
- cout << "Beats: ";
- cin >> in;
-
- TimeStamp beats(TimeUnit(TimeUnit::BEATS, 19200), in);
-
- cout << "Quantized: ";
- cout << Quantizer::quantize(q, beats) << endl << endl;
- }
-
- return 0;
-}
-