Beispiel #1
0
 public void TestBitWriteRedLight2()
 {
     WriteBit(ref value, 2, false);
     Assert.That(ByteManipulator.ReadBit(value, 2), Is.Not.True);
 }
Beispiel #2
0
 public void TestBitWriteRedLight()
 {
     WriteBit(ref value, 3, true);
     Assert.That(ByteManipulator.ReadBit(value, 3), Is.Not.False);
 }
Beispiel #3
0
 public void TestBitWrite2()
 {
     WriteBit(ref value, 2, false);
     Assert.That(ByteManipulator.ReadBit(value, 2), Is.False);
 }
Beispiel #4
0
 public void TestBitWrite()
 {
     WriteBit(ref value, 3, true);
     Assert.That(ByteManipulator.ReadBit(value, 3), Is.True);
 }
Beispiel #5
0
 public void TestBitReadRedLight2()
 {
     Assert.That(ByteManipulator.ReadBit(value, 3), Is.Not.True);
 }
Beispiel #6
0
 public void TestBitRead2()
 {
     Assert.That(ByteManipulator.ReadBit(value, 3), Is.False);
 }
Beispiel #7
0
 public void TestBitReadRedLight()
 {
     Assert.That(ByteManipulator.ReadBit(value, 1), Is.Not.False);
 }
Beispiel #8
0
 public void TestBitRead()
 {
     Assert.That(ByteManipulator.ReadBit(value, 1), Is.True);
 }