diff options
Diffstat (limited to 'test/queue_test.cpp')
-rw-r--r-- | test/queue_test.cpp | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/test/queue_test.cpp b/test/queue_test.cpp index e4ad230..e894647 100644 --- a/test/queue_test.cpp +++ b/test/queue_test.cpp @@ -89,7 +89,7 @@ protected: // Returns 0 if all read count/write count pairs are equal, // otherwise how far off total count was -unsigned +static unsigned data_is_sane() { unsigned ret = 0; @@ -101,19 +101,6 @@ data_is_sane() return ret; } -void -dump_data() -{ - for (unsigned i = 0; i < NUM_DATA; ++i) { - cout << i << ":\t" << data[i].read_count.get() - << "\t : \t" << data[i].write_count.get(); - if (data[i].read_count.get() == data[i].write_count.get()) - cout << "\t OK" << endl; - else - cout << "\t FAIL" << endl; - } -} - int main() { @@ -211,8 +198,6 @@ main() return EXIT_FAILURE; } - //dump_data(); - return 0; } |