mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Fixed bool support and duplicate register refs
This commit is contained in:
@@ -66,7 +66,7 @@ namespace MewtocolTests {
|
||||
|
||||
}
|
||||
|
||||
[Fact(DisplayName = nameof(MewtocolHelpers.ParseDTRawStringAsBytes))]
|
||||
[Fact(DisplayName = nameof(MewtocolHelpers.ParseResponseStringAsBytes))]
|
||||
public void ParseDTByteStringGeneration() {
|
||||
|
||||
var testList = new List<byte[]>() {
|
||||
@@ -77,7 +77,7 @@ namespace MewtocolTests {
|
||||
|
||||
foreach (var item in testList) {
|
||||
|
||||
Assert.Equal(item, $"%01$RD{item.ToHexString()}".BCC_Mew().ParseDTRawStringAsBytes());
|
||||
Assert.Equal(item, $"%01$RD{item.ToHexString()}".BCC_Mew().ParseResponseStringAsBytes());
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user