dolphin/Source/UnitTests/Common
Silent b3969e91d9
FixedSizeQueue: Bugfixes and improvements
- Fixed a bug where pushing items over queue's size left it in a corrupted state
- For non-trivial types, have clear() and pop() run destructors
- Added emplace(args...)
- Added empty()

FixedSizeQueue has semantics of a circular buffer,
so pushing items continuously is expected to keep overwriting oldest elements gracefully.

Tests have been updated to verify correctness of a previously bugged behaviour
and to verify correctness of destructing non-trivial types
2019-08-31 21:18:07 +02:00
..
Crypto
BitFieldTest.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
BitSetTest.cpp
BitUtilsTest.cpp
BlockingLoopTest.cpp
BusyLoopTest.cpp
CMakeLists.txt
CommonFuncsTest.cpp Common/CommonFuncs: Remove now-unneccessary ArraySize function 2019-06-01 10:07:57 -04:00
EventTest.cpp
FixedSizeQueueTest.cpp FixedSizeQueue: Bugfixes and improvements 2019-08-31 21:18:07 +02:00
FlagTest.cpp
FloatUtilsTest.cpp
MathUtilTest.cpp Replace MathUtil::Clamp with std::clamp 2019-05-04 23:12:17 +02:00
NandPathsTest.cpp
SPSCQueueTest.cpp
StringUtilTest.cpp Remove redundant initialization 2019-04-30 01:22:24 +02:00
SwapTest.cpp
x64EmitterTest.cpp x64EmitterTest: Add some missing tests 2018-12-26 15:22:45 +00:00