diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-02-05 00:44:03 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-02-05 00:44:03 +0100 |
commit | 2d48c70f2f76d90e2e3e6c1badec7a4f0e6c623b (patch) | |
tree | 21eec3006d5928395894735fe16ceadccbc87649 /tests/test-whiteboard.cpp | |
parent | 45482c1e7f8b7dd7d55d2581469a65d9cd02b754 (diff) |
Test number of threads
Diffstat (limited to 'tests/test-whiteboard.cpp')
-rw-r--r-- | tests/test-whiteboard.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test-whiteboard.cpp b/tests/test-whiteboard.cpp index c55c87c..e1df17a 100644 --- a/tests/test-whiteboard.cpp +++ b/tests/test-whiteboard.cpp @@ -194,3 +194,9 @@ TEST_F(WhiteboardTest, websocket_server_generate_id) ASSERT_NE(result0, result1); } +// check number of threads as configured +TEST_F(WhiteboardTest, threads) +{ + ASSERT_GE(Process::number_of_threads(m_pid), 4); +} + |