We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01a37e5 commit 0a710a1Copy full SHA for 0a710a1
MLAPI.Tests/NetworkingManagerComponents/Binary/BitStreamTest.cs
@@ -411,5 +411,22 @@ public void TestBits()
411
Assert.Fail("There is no way to read back the bits");
412
413
}
414
+
415
+ [Test]
416
+ public void TestNibble()
417
+ {
418
+ byte somevalue = 0b1010011;
419
420
+ BitStream outStream = new BitStream();
421
+ outStream.WriteNibble(somevalue);
422
423
+ byte[] buffer = outStream.GetBuffer();
424
425
+ BitStream inStream = new BitStream(buffer);
426
427
+ //Assert.That(inStream.ReadNibble(), Is.EqualTo(0b0011));
428
+ Assert.Fail("There is no way to read back Nibbles");
429
430
+ }
431
432
0 commit comments