public void Test_IsCool_InputNotMultipleOfEleven_ExpectedReturnFalse() { var cool = new Cool(); var actual = cool.IsCool(-21); Assert.AreEqual(false, actual); }
public void Test_IsCool_InputMultipleOfEleven_ExpectedReturnTrue() { var cool = new Cool(); var actual = cool.IsCool(22); Assert.AreEqual(true, actual); }
//Updates which image should have transparency set to full or set to null void UpdateActiveWeapon() { if (Cooldowns == null) { return; } foreach (WeaponCooldown Cool in Cooldowns) { Cool.ImageTransparency(WeaponIndex); } }
//Updating references for UI, making sure that they have the correct weapon void UpdateCooldown(int weaponInt, Weapon Gun) { if (Cooldowns == null) { return; } foreach (WeaponCooldown Cool in Cooldowns) { Cool.InitializeWeapon(this, weaponInt); } }
public override void Uninstall(System.Collections.IDictionary savedState) { Cool.DoStuff(); }