port GildedRose Java/Ruby to R language, add a RUnit test stub

This commit is contained in:
Peter Kofler committed 2014-12-05 20:09:02 +01:00
1 parent f492b562df
commit 14c06edeb6
5 files changed
+116

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
source('gilded_rose.R')
test.foo <- function() {
items <- list( item('foo', 0, 0) )
items <- update_quality(items)
checkEquals('fixme', items[[1]]$name);
}