public void TestDamageBoundariesAndCharacters(string damage, bool passed) { bool actualPass = false; //Setup int result = inputs.DMGInput(damage); if (result != -1) { actualPass = true; } //Assert Assert.AreEqual(passed, actualPass); }
protected void DMGTextBox_TextChanged(object sender, EventArgs e) { dmgInput = input.DMGInput(DMGTextBox.Text); }