mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
19 lines
446 B
C#
19 lines
446 B
C#
using NUnit.Framework;
|
|
using System.Collections.Generic;
|
|
|
|
namespace csharp
|
|
{
|
|
[TestFixture]
|
|
public class GildedRoseTest
|
|
{
|
|
[Test]
|
|
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.AreEqual("fixme", Items[0].Name);
|
|
}
|
|
}
|
|
}
|