Adds more unit tests (#133)
This commit is contained in:
parent
e138706536
commit
8278694105
37 changed files with 1406 additions and 996 deletions
|
|
@ -15,7 +15,7 @@ namespace Server.Tests
|
|||
return builder.ToString();
|
||||
}
|
||||
|
||||
public static void Equal(ReadOnlySpan<byte> expected, ReadOnlySpan<byte> actual) =>
|
||||
public static void Equal(ReadOnlySpan<byte> actual, ReadOnlySpan<byte> expected) =>
|
||||
Xunit.Assert.True(
|
||||
MemoryExtensions.SequenceEqual(expected, actual),
|
||||
$"Expected does not match actual.\nExpected:\t{SpanToString(expected)}\nActual:\t\t{SpanToString(actual)}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue