add some dependencies and test code
This commit is contained in:
@@ -8,9 +8,12 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
int modified = -1;
|
||||
while (modified != 0) {
|
||||
modified = minimal_lib::getModified(5);
|
||||
printf("getModified(5): %d\n", modified);
|
||||
|
||||
modified = minimal_lib::getNewValue(5);
|
||||
printf("getModified(5): %d\n", modified);
|
||||
std::this_thread::sleep_for(std::chrono::seconds(1));
|
||||
|
||||
printf("otherValue: %d\n", minimal_lib::otherValue);
|
||||
std::this_thread::sleep_for(std::chrono::seconds(1));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user