public void CanCompareNone() { IdString a = new IdString("ss"); IdString b = new IdString(""); Assert.AreNotEqual(a, b); }
public void CanCompareAndFail() { IdString a = new IdString("ss"); IdString b = new IdString("nn"); Assert.AreNotEqual(a, b); }
public void CanCompareAndSucceed() { IdString a = new IdString("ss"); IdString b = new IdString("ss"); Assert.AreEqual(a, b); }
public void CreateManyIdStrings() { IdString a = new IdString("ss"); IdString b = new IdString("ii"); Assert.IsFalse(a.IsNone()); Assert.IsFalse(b.IsNone()); }
public void CanBeCopied() { IdString a = new IdString("ss"); IdString b = a; Assert.IsFalse(a.IsNone()); Assert.IsFalse(b.IsNone()); IdString c = ""; b = c; Assert.IsTrue(c.IsNone()); Assert.IsTrue(b.IsNone()); }
public void CanBeNone() { IdString a = new IdString(""); Assert.IsTrue(a.IsNone()); }
public void CreateOneIdString() { IdString a = new IdString("ss"); Assert.IsFalse(a.IsNone()); }
public void CanGetString() { IdString a = new IdString("ss"); Assert.AreEqual("ss", (string)a); }