public void SaveToStringTest() { Charset charset1 = new Charset("0Az", 1, 2); string s1 = charset1.SaveToString(); Charset charset2 = Charset.FromString(s1); Assert.AreEqual(charset1, charset2); }