Example #1
0
 void SetName(GradeBook book)
 {
     book.Name = "Name Set";
 }
Example #2
0
 private void SetName(GradeBook book)
 {
     book.Name = "Name set";
 }
Example #3
0
 private void GiveName(GradeBook book)
 {
     book.Name = "A new book name";
 }
 public void TestCleanup()
 {
     this.book      = null;
     this.bookStats = null;
 }
Example #5
0
 private void GieveBookAName(GradeBook book)
 {
     book.Name = "John Carpenters Novels";
 }
Example #6
0
        public void CreateGradeBookWithDefaultName()
        {
            GradeBook book = new GradeBook();

            Assert.AreEqual(book.Name, "No Name");
        }
Example #7
0
        public void CreatesGradeBookWithName()
        {
            GradeBook book = new GradeBook("TestBook");

            Assert.AreEqual(book.Name, "TestBook");
        }
Example #8
0
 private void GiveBookAName(GradeBook book)
 {
     book.Name = "A GradeBook";
 }
Example #9
0
 private void GiveBookAName(ref GradeBook book)
 {
     book      = new GradeBook();
     book.Name = "A GradeBook";
 }