// Tests for video::MobileScaleBudget (runtime/video/scale_budget.cpp): Auto // internal resolution's budget on iPhones and iPads, chip by chip, and what // it makes of the phones' screens with video::AutoRenderScale. From the repo // root: // clang++ -std=c++20 -O2 -Iruntime tests/scale_budget_test.cpp runtime/video/scale_budget.cpp runtime/video/picture_fit.cpp -o build/scale_budget_test // build/scale_budget_test #include