diff options
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/common/fibers.cpp | 2 | ||||
| -rw-r--r-- | src/tests/input_common/calibration_configuration_job.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/common/fibers.cpp b/src/tests/common/fibers.cpp index c0b22d0ee..ecad7583f 100644 --- a/src/tests/common/fibers.cpp +++ b/src/tests/common/fibers.cpp | |||
| @@ -76,7 +76,7 @@ void TestControl1::ExecuteThread(u32 id) { | |||
| 76 | * doing all the work required. | 76 | * doing all the work required. |
| 77 | */ | 77 | */ |
| 78 | TEST_CASE("Fibers::Setup", "[common]") { | 78 | TEST_CASE("Fibers::Setup", "[common]") { |
| 79 | constexpr static std::size_t num_threads = 7; | 79 | constexpr std::size_t num_threads = 7; |
| 80 | TestControl1 test_control{}; | 80 | TestControl1 test_control{}; |
| 81 | test_control.thread_fibers.resize(num_threads); | 81 | test_control.thread_fibers.resize(num_threads); |
| 82 | test_control.work_fibers.resize(num_threads); | 82 | test_control.work_fibers.resize(num_threads); |
diff --git a/src/tests/input_common/calibration_configuration_job.cpp b/src/tests/input_common/calibration_configuration_job.cpp index 8d3951ee6..516ff1b30 100644 --- a/src/tests/input_common/calibration_configuration_job.cpp +++ b/src/tests/input_common/calibration_configuration_job.cpp | |||
| @@ -35,8 +35,8 @@ public: | |||
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | void Run(const std::vector<InputCommon::CemuhookUDP::Response::TouchPad> touch_movement_path) { | 37 | void Run(const std::vector<InputCommon::CemuhookUDP::Response::TouchPad> touch_movement_path) { |
| 38 | constexpr static size_t HeaderSize = sizeof(InputCommon::CemuhookUDP::Header); | 38 | constexpr size_t HeaderSize = sizeof(InputCommon::CemuhookUDP::Header); |
| 39 | constexpr static size_t PadDataSize = | 39 | constexpr size_t PadDataSize = |
| 40 | sizeof(InputCommon::CemuhookUDP::Message<InputCommon::CemuhookUDP::Response::PadData>); | 40 | sizeof(InputCommon::CemuhookUDP::Message<InputCommon::CemuhookUDP::Response::PadData>); |
| 41 | 41 | ||
| 42 | REQUIRE(touch_movement_path.size() > 0); | 42 | REQUIRE(touch_movement_path.size() > 0); |