Ejemplo n.º 1
0
        public void AnEmptyLibraryWillAlwaysCountZero()
        {
            // Act
            int actual = library.BookCounter();

            // Assert
            Assert.That(actual, Is.EqualTo(0));
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Show statistics
 /// </summary>
 /// <param name="library">The library service.</param>
 public static void Statistics(LibraryService library)
 {
     WriteLine(StatisticsMessage);
     WriteLine("\t" + StatisticsBooks + $" {library.BookCounter()}");
 }