mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-16 00:00:34 +02:00
It is not an external component, and it makes paths needlessly long. Ryan seemed amenable to this when we discussed on IRC earlier. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
8 lines
167 B
C++
8 lines
167 B
C++
#include <FEXCore/Utils/MathUtils.h>
|
|
#include <catch2/catch.hpp>
|
|
|
|
TEST_CASE("ILog2") {
|
|
auto i = GENERATE(range(0, 64));
|
|
REQUIRE(FEXCore::ilog2(1ull << i) == i);
|
|
}
|