mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-11 20:02:09 +00:00
19 lines
548 B
VB.net
19 lines
548 B
VB.net
Imports NUnit.Framework
|
|
|
|
Namespace GildedRoseKata.Tests
|
|
Public Class GildedRoseTests
|
|
<Test>
|
|
Public Sub foo()
|
|
Dim Items As IList(Of Item) = New List(Of Item) From {
|
|
New Item With {
|
|
.Name = "foo",
|
|
.SellIn = 0,
|
|
.Quality = 0
|
|
}
|
|
}
|
|
Dim app = New GildedRose(Items)
|
|
app.UpdateQuality()
|
|
Assert.AreEqual("fixme", Items(0).Name)
|
|
End Sub
|
|
End Class
|
|
End Namespace |