示例#1
0
 public void should_print_all_the_score_of_courses()
 {
     var transcript = new Transcript
     {
         Name = "Li Lei",
         Chinese = 80,
         English = 81,
         Math = 82
     };
     Assert.AreEqual("Name: Li Lei, Chinese: 80, English: 81, Math: 82", transcript.Print());
 }
示例#2
0
 public void should_print_all_the_score_of_courses_except_unregisted_courses()
 {
     var transcript = new Transcript
     {
         Name = "Li Lei",
         Chinese = 80,
         English = 81
     };
     Assert.AreEqual("Name: Li Lei, Chinese: 80, English: 81", transcript.Print());
 }