Example #1
0
        public void create_procedure_witch_sucess()
        {
            var summary = new Summary();

            summary.CreateProcedure(1, 5, 2012, new TUSS { Id = 1 });

            Assert.IsTrue(summary.Procedures.Count > 0);
        }
Example #2
0
 public void create_procedure_witch_year_equals_zero_must_return_exeption()
 {
     var summary = new Summary();
     summary.CreateProcedure(1, 5, 0, new TUSS { Id = 1 });
 }
Example #3
0
 public void create_procedure_witch_tus_witch_id_equals_zero_must_return_exeption()
 {
     var summary = new Summary();
     summary.CreateProcedure(1, 5, 2011, new TUSS { Id = 0 });
 }
Example #4
0
 public void create_procedure_witch_month_equals_zero_must_return_exeption()
 {
     var summary = new Summary();
     summary.CreateProcedure(0, 5, 2012, new TUSS { Id = 1 });
 }