Skip to content

Commit a8bc1a5

Browse files
committed
added trivial fslibrary test
1 parent 280dbaa commit a8bc1a5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/test-fslib.cpp

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#include "unittestframework.h"
2+
#include <cpputils/fslibrary.h>
3+
#include <cpputils/fslibrary.h>
4+
#include <cpputils/formatter.h>
5+
6+
TEST_CASE("fileenum") {
7+
int n = 0;
8+
for (auto [p, e] : fileenumerator("."))
9+
{
10+
//print("p:%s\n\te:%s\n", p, e);
11+
n++;
12+
}
13+
CHECK(n>0);
14+
}

0 commit comments

Comments
 (0)