常规更新
This commit is contained in:
@@ -27,7 +27,13 @@ TEST_F(BdsTest, TestBdsInfer) {
|
||||
|
||||
// std::cout << infer("A0001838201584F23468207CDFA5").value();
|
||||
}
|
||||
|
||||
TEST_F(BdsTest, Infer2LargeBds17ReservedBitsDoesNotThrow) {
|
||||
std::string msg = "10100000000000000000000000000000";
|
||||
msg += "00010000000000110000101010000000111101010000000000000000";
|
||||
msg += "000000000000000000000000";
|
||||
EXPECT_NO_THROW(infer2(msg, true));
|
||||
EXPECT_NO_THROW(infer2("1010000000000000000011110011100100010000000000110000101010000000111101010000000000000000001110000101001101010111", true));
|
||||
}
|
||||
TEST_F(BdsTest, TestBdsIs50Or60) {
|
||||
auto result = is50or60(hex2bin("A0001838201584F23468207CDFA5"), 0, 0, 0);
|
||||
EXPECT_EQ(result, ""); // Check if the optional is empty
|
||||
|
||||
Reference in New Issue
Block a user