File tree Expand file tree Collapse file tree 2 files changed +1337
-61
lines changed
MLAPI.Tests/NetworkingManagerComponents/Binary
MLAPI/NetworkingManagerComponents/Binary Expand file tree Collapse file tree 2 files changed +1337
-61
lines changed Original file line number Diff line number Diff line change @@ -407,8 +407,8 @@ public void TestBits()
407
407
408
408
BitStream inStream = new BitStream ( buffer ) ;
409
409
410
- // Assert.That(inStream.ReadBits(5), Is.EqualTo(0b10011));
411
- Assert . Fail ( "There is no way to read back the bits" ) ;
410
+ Assert . That ( inStream . ReadBits ( 5 ) , Is . EqualTo ( 0b10011 ) ) ;
411
+ // Assert.Fail("There is no way to read back the bits");
412
412
413
413
}
414
414
@@ -424,8 +424,8 @@ public void TestNibble()
424
424
425
425
BitStream inStream = new BitStream ( buffer ) ;
426
426
427
- // Assert.That(inStream.ReadNibble(), Is.EqualTo(0b0011));
428
- Assert . Fail ( "There is no way to read back Nibbles" ) ;
427
+ Assert . That ( inStream . ReadNibble ( ) , Is . EqualTo ( 0b0011 ) ) ;
428
+ // Assert.Fail("There is no way to read back Nibbles");
429
429
}
430
430
431
431
public void TestReadWriteMissaligned ( )
You can’t perform that action at this time.
0 commit comments