dolphin/Source/UnitTests
Niels Boehm df82adca43 Add function testing whether a bitmask is valid.
This one verifies bitmasks where low bits are set to 1 (hence the name).
Any stray 0 among the lower ones or any stray 1 among the higher zeros
renders the mask invalid.

The edge cases of all zeros and all ones are considered valid masks.

It uses an efficient implementation. It's the counterpart of
https://graphics.stanford.edu/~seander/bithacks.html#DetermineIfPowerOf2
2017-06-22 20:22:53 +02:00
..
Common Add function testing whether a bitmask is valid. 2017-06-22 20:22:53 +02:00
Core UnitTests: Use a temporary profile directory 2017-06-18 16:23:09 +02:00
VideoCommon VertexLoaderTest: fix maybe-uninitialized warning 2017-03-31 13:51:20 -07:00
CMakeLists.txt unittests: set user directory so SYSCONF does not get created at the drive root 2017-06-06 04:07:13 -07:00
StubHost.cpp CMake: remove extraneous TestUtils directory 2017-05-22 00:19:13 -07:00
UnitTests.vcxproj Merge branch 'master' into fix-unittests 2017-06-07 21:20:06 -07:00
UnitTests.vcxproj.user msbuild: increment other version numbers to vs2017 equivalents 2017-06-03 18:20:39 -07:00