Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void Cursor_fill_returns_any_extras() { var cursor = _container.GetCursor(5); var remaining = _container.Fill(cursor, new InventoryStack(_model1, 10)); // filled (to 10), remaining is 5 Assert.AreEqual(new InventoryStack(_model1, 10), Get(5)); Assert.AreEqual(new InventoryStack(_model1, 5), remaining); }