mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 08:49:03 +00:00
19 lines
466 B
C++
19 lines
466 B
C++
#pragma once
|
|
#include "ITestClass.h"
|
|
#include <tc/types.h>
|
|
|
|
class bn_bitarrayByteBEBitBE_TestClass : public ITestClass
|
|
{
|
|
public:
|
|
void runAllTests();
|
|
private:
|
|
void test_Size();
|
|
void test_TestBit();
|
|
void test_SetBit();
|
|
void test_ResetBit();
|
|
void test_FlipBit();
|
|
|
|
using testtype_t = tc::bn::bitarray<sizeof(uint32_t), false, false>;
|
|
|
|
void helper_TestBit(const std::string& test_name, const testtype_t& bitarray, const std::vector<size_t>& expected_set_bits);
|
|
}; |