Esempio n. 1
0
        public void WriteBasicEnum()
        {
            var enu = CreateEnum();

            enu.Value.FieldsRemoved = true;

            generator.WriteEnumeration(new CodeGenerationOptions(), enu, null);

            Assert.AreEqual(GetExpected(nameof(WriteBasicEnum)), writer.ToString().NormalizeLineEndings());
        }