17 lines
418 B
C#
17 lines
418 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|