public void TestMethod1()
        {
            XcfBuilder builder = new XcfBuilder();

            for (Int32 i = 0; i < 25; ++i)
            {
                XcfSection section = new XcfSection(String.Format("Section{0}", i));

                for (Int32 x = 0; x < 1000; ++x)
                {
                    section.AddKey(String.Format("item{0}", x), x);
                }

                Assert.AreEqual(1000, section.Keys.Count);
                builder.WriteSection(section);
            }
        }
Esempio n. 2
0
 /// <summary>
 ///     <para></para>
 /// </summary>
 /// <param name="builder"></param>
 public XcfWriter(Stream stream, XcfBuilder builder)
     : this(stream)
 {
     //
 }
Esempio n. 3
0
 /// <summary>
 ///     <para></para>
 /// </summary>
 /// <param name="builder"></param>
 public XcfWriter(Stream stream, XcfBuilder builder)
     : this(stream)
 {
     //
 }