Exemplo n.º 1
0
 public void TestSaveSingleLine()
 {
     string[] PreppedDOD = DOD.Prep(DOD.Parse(DOD2));
     for (int i = 0; i < DOD2.Length; i++)
     {
         Assert.AreEqual(DOD2[i], PreppedDOD[i]);
     }
 }
Exemplo n.º 2
0
        public void TestSaveMultiLine()
        {
            string[] PreppedDOD = DOD.Prep(DOD.Parse(DOD3));

            //DOD.PREP has \n. In order for this simulation to go through, it must be written.
            PreppedDOD = string.Join("\n", PreppedDOD).Split('\n');

            for (int i = 0; i < DOD3.Length; i++)
            {
                Assert.AreEqual(DOD3[i], PreppedDOD[i]);
            }
        }