mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
tests: Remove tests for functions that no longer exist
This commit is contained in:
@@ -4,24 +4,6 @@
|
||||
|
||||
using namespace std::literals::string_literals;
|
||||
|
||||
TEST_SEQUENCE("SplitStringAtChar") {
|
||||
const std::string TestString = "Hello|World|ABCD|Test|";
|
||||
const std::vector<std::string> TestSplitVector = { "Hello", "World", "ABCD", "Test", "" };
|
||||
|
||||
TEST_ASSERT(hex::splitString(TestString, "|") == TestSplitVector);
|
||||
|
||||
TEST_SUCCESS();
|
||||
};
|
||||
|
||||
TEST_SEQUENCE("SplitStringAtString") {
|
||||
const std::string TestString = "Hello|DELIM|World|DELIM|ABCD|DELIM|Test|DELIM|";
|
||||
const std::vector<std::string> TestSplitVector = { "Hello", "World", "ABCD", "Test", "" };
|
||||
|
||||
TEST_ASSERT(hex::splitString(TestString, "|DELIM|") == TestSplitVector);
|
||||
|
||||
TEST_SUCCESS();
|
||||
};
|
||||
|
||||
TEST_SEQUENCE("ExtractBits") {
|
||||
TEST_ASSERT(hex::extract(11, 4, 0xAABBU) == 0xAB);
|
||||
TEST_ASSERT(hex::extract(15, 0, 0xAABBU) == 0xAABB);
|
||||
|
||||
Reference in New Issue
Block a user