gilded-rose-dotnet-core/GildedRoseTest.cs

17 lines
418 B
C#
Raw Normal View History

2020-08-31 17:32:41 +00:00
using Xunit;
using System.Collections.Generic;
namespace csharpcore
{
public class GildedRoseTest
{
[Fact]
public void foo()
{
IList<Item> Items = new List<Item> { new Item { Name = "foo", SellIn = 0, Quality = 0 } };
GildedRose app = new GildedRose(Items);
app.UpdateQuality();
Assert.Equal("fixme", Items[0].Name);
}
}
}