GildedRose-Refactoring-Kata/csharp.xUnit/GildedRoseTests/GildedRoseTest.cs
Stef Heyenrath 99f2fcbf18
Refactoring c# projects (#544)
Small Refactoring c# projects, e.g.
* add days
* remove StartupObject
* Fix Approval tests for NUnit
* Use Environment.NewLine in Xunit tests
* Added + fixed README.md
* Removed global.json
2024-06-06 14:13:44 +02:00

17 lines
399 B
C#

using Xunit;
using System.Collections.Generic;
using GildedRoseKata;
namespace GildedRoseTests;
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);
}
}