public void SimpleValue(string value, string value2) { var v = new IonString(value); Assert.AreEqual(IonType.String, v.Type()); Assert.IsFalse(v.IsNull); Assert.AreEqual(value, v.StringValue); }
public void Null() { var n = new IonString(null); Assert.AreEqual(IonType.String, n.Type()); Assert.IsTrue(n.IsNull); Assert.IsNull(n.StringValue); }