예제 #1
0
 public void OTFixedEqualsTest3e()
 {
     OTFixed target = new OTFixed(new byte[4] { 0, 1, 0x80, 0 });
     byte[] buffer = null;
     Assert.IsFalse(target.Equals(buffer), "Error: unexpected comparison result");
 }
예제 #2
0
 public void OTFixedEqualsTest1c()
 {
     OTFixed target = new OTFixed(new byte[4] { 0, 1, 0x7f, 0 });
     object obj = null;
     Assert.IsFalse(target.Equals(obj), "Error: unexpected comparison result");
 }
예제 #3
0
 public void OTFixedEqualsTest2c()
 {
     OTFixed target = new OTFixed(new byte[4] { 0, 1, 0x80, 0 });
     OTFixed fixedVal = new OTFixed(2, 0x8000);
     Assert.IsFalse(target.Equals(fixedVal), "Error: unexpected comparison result");
 }
예제 #4
0
 public void OTFixedEqualsTest1a()
 {
     OTFixed target = new OTFixed(new byte[4] { 0, 1, 0x80, 0 });
     object obj = new OTFixed(1, 0x8000);
     Assert.IsTrue(target.Equals(obj), "Error: unexpected comparison result");
 }