pluralsight-csharp-fundamen.../gradebook/test/GradeBook.Tests/BookTests.cs

23 lines
426 B
C#
Raw Normal View History

using System;
using Xunit;
using GradeBook;
namespace GradeBook.Tests
{
public class BookTests
{
[Fact]
public void Test1()
{
// arrange
var book = new Book("");
book.AddGrade(89.1);
book.AddGrade(90.5);
book.AddGrade(77.3);
// act
book.ShowStaticstics();
}
}
}