Browse Source

Tests: add framework/utils.cc - sleep_millis();

LIB-11
heck 4 years ago
parent
commit
c3aeb1e0ff
  1. 7
      test/framework/utils.cc

7
test/framework/utils.cc

@ -0,0 +1,7 @@
#include "utils.hh"
void sleep_millis(int milis) {
std::chrono::milliseconds timespan(milis);
std::this_thread::sleep_for(timespan);
}
Loading…
Cancel
Save