Пример #1
0
 public void ScheduleConstructorTest()
 {
     long id = -1;
     int rows = 14;
     Schedule tar1 = new Schedule(id, rows);
     Schedule tar2 = new Schedule();
     Assert.AreEqual(tar1.Student_ID,tar2.Student_ID,"fail id");
     Assert.AreEqual(tar1.c_table, tar2.c_table, "fail table");
 }
Пример #2
0
 //
 // GET: /Group/
 public ActionResult Index()
 {
     Schedule sc = new Schedule(1210,14);
     return View(sc);
 }