public void EqualsTest() { Charset charset1 = new Charset("0Az", 1, 2); Assert.IsFalse(charset1.Equals(null)); Assert.IsTrue(charset1.Equals(charset1)); Assert.IsTrue(charset1.Equals(new Charset("0Az", 1, 2))); Assert.IsFalse(charset1.Equals(new Charset("0A", 1, 2))); Assert.IsFalse(charset1.Equals(new Charset("0Az", 2, 2))); Assert.IsFalse(charset1.Equals(new Charset("0Az", 1, 1))); }