Init. Copied over heload, made a minimal tester.
This commit is contained in:
18
test/manual/minimal.cpp
Normal file
18
test/manual/minimal.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "minimal_lib.h"
|
||||
|
||||
#include <chrono>
|
||||
#include <cstdio>
|
||||
#include <thread>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
||||
int modified = -1;
|
||||
while (modified != 0) {
|
||||
modified = minimal_lib::getModified(5);
|
||||
printf("getModified(5): %d\n", modified);
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::seconds(1));
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user