mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
tests add to namespace sls (#466)
* tests add to namespace sls * fixed for tests * finish up namespace sls for tests
This commit is contained in:
@ -4,7 +4,8 @@
|
||||
#include "sls/CircularFifo.h"
|
||||
#include <vector>
|
||||
|
||||
using sls::CircularFifo;
|
||||
namespace sls {
|
||||
|
||||
|
||||
TEST_CASE("Empty buffer") {
|
||||
CircularFifo<char> fifo(0);
|
||||
@ -50,4 +51,6 @@ TEST_CASE("Push pop") {
|
||||
|
||||
CHECK(fifo.isEmpty() == true);
|
||||
CHECK(fifo.isFull() == false);
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace sls
|
||||
|
Reference in New Issue
Block a user