예제 #1
0
 public void runTest()
 {
     Tester target = new Tester(); // TODO: Initialize to an appropriate value
     int expected = 1; // TODO: Initialize to an appropriate value
     int actual;
     actual = target.run();
     Assert.AreEqual(expected, actual);
     //Assert.Inconclusive("Verify the correctness of this test method.");
 }
예제 #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Tester test = new Tester();
            test.run();
            LinkedListNode<Report> report= test.Reports.First;
            while (report != null)
            {
                String o = report.Value.ToString();
                String[] f = o.Split('|');
                TableRow r = new TableRow();

                foreach (String n in f)
                    {

                            TableCell c = new TableCell();
                            c.Controls.Add(new LiteralControl(n));
                            r.Cells.Add(c);

                    }
                tblOut.Rows.Add(r);

                report = report.Next;
            }
        }