// Synthetic-timestamp tests for video::RefreshFit (runtime/video/refresh_fit.cpp) // and which displays it is told are a whole multiple of 60 Hz // (runtime/video/refresh_multiple.h). Sections 1-8 are the 60 Hz fit's (as in // v0.1.6); 9-15 the multiples (120, 180, 240 Hz), the rates that aren't // (143.9, 90 Hz), jitter, the policy, and planted wrong configurations that // must each fail a check. From the repo root: // clang++ -std=c++20 -O2 -Iruntime tests/refresh_fit_test.cpp runtime/video/refresh_fit.cpp -o build/refresh_fit_test // build/refresh_fit_test #include