public void ToString_Test() { PDFNull target = PDFNull.Value; string expected = PDFNull.NullString; string actual; actual = target.ToString(); Assert.AreEqual(expected, actual); }
public void Type_Test() { PDFNull target = PDFNull.Value; PDFObjectType expected = PDFObjectTypes.Null; PDFObjectType actual; actual = target.Type; Assert.AreEqual(expected, actual); }
public void GetHashCode_Test() { PDFNull target = PDFNull.Value; PDFNull another = PDFNull.Value; int expected = target.GetHashCode(); int actual; actual = target.GetHashCode(); Assert.AreEqual(expected, actual); }
public void Equals_Test() { PDFNull target = PDFNull.Value; object obj = PDFNull.Value; bool expected = true; bool actual; actual = target.Equals(obj); Assert.AreEqual(expected, actual); obj = null; expected = false; actual = target.Equals(obj); Assert.AreEqual(expected, actual); obj = new object(); expected = false; actual = target.Equals(obj); Assert.AreEqual(expected, actual); }