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:
Dhanya Thattil
2022-05-23 16:17:32 +02:00
committed by GitHub
parent 8656eeec25
commit d61741c28b
44 changed files with 360 additions and 236 deletions

View File

@ -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