public void Binary_Serialization_Deserialization_Equal_Test(string serFileName) { MySerializer.SerializeBinary(TestCatalog.StandardDir, serFileName); _desDir = MySerializer.DeserializeFromFile(serFileName, "-bin"); File.Delete(serFileName); Assert.That(_desDir, Is.EqualTo(TestCatalog.StandardDir)); }