public void Substruct_ValidNumber_Substructs(int val) { var c = new CoinsPile(1, 5); c.Substruct((uint)val); Assert.AreEqual(5 - val, c.Count); }