public void button23_WtFt_NoMatch_Test() { Form1 test = new Form1(); test.checkBox2_Checked = false; test.checkBox3_Checked = false; test.checkBox4_Checked = true; test.comboBox4_selected = "invalid"; test.button23_Click(null, null); bool actual; if ((test.textBox34_text == "Recheck") && (test.textBox35_text == "Recheck") && (test.textBox36_text == "Recheck")) { actual = true; } else actual = false; Assert.AreEqual(actual, true); }
public void button23_OD_Test() { Form1 test = new Form1(); test.checkBox2_Checked = true; test.checkBox3_Checked = false; test.checkBox4_Checked = false; test.button23_Click(null, null); bool actual; if ((test.textBox34_text == "Select Another") && (test.textBox35_text == "Select Another") && (test.textBox36_text == "Select Another")) { actual = true; } else actual = false; Assert.AreEqual(actual, true); }
public void button23_OD_ID_Match_Test() { Form1 test = new Form1(); test.checkBox2_Checked = true; test.checkBox3_Checked = true; test.comboBox2_selected = "2-3/8"; test.comboBox3_selected = "1.995"; test.button23_Click(null, null); bool actual; if ((test.textBox34_text == "2-3/8") && (test.textBox35_text == "1.995") && (test.textBox36_text == "4.85")) { actual = true; } else actual = false; Assert.AreEqual(actual, true); }
public void button23_WtFt_Match_Test() { Form1 test = new Form1(); test.checkBox2.Checked = false; test.checkBox3.Checked = false; test.checkBox4.Checked = true; test.comboBox4.SelectedItem = "6.85"; test.button23_Click(null, null); bool actual; if ((test.textBox34.Text == "2-7/8") && (test.textBox35.Text == "2.441") && (test.textBox36.Text == "6.85")) { actual = true; } else actual = false; Assert.AreEqual(actual, true); }
public void button23_OD_ID_NoMatch_Test() { Form1 test = new Form1(); test.checkBox2.Checked = true; test.checkBox3.Checked = true; test.comboBox2.SelectedItem = "2-7/8"; test.comboBox3.SelectedItem = "1.995"; test.button23_Click(null, null); bool actual; if ((test.textBox34.Text == "Recheck") && (test.textBox35.Text == "Recheck") && (test.textBox36.Text == "Recheck")) { actual = true; } else actual = false; Assert.AreEqual(actual, true); }
public void button23_None_Test() { Form1 test = new Form1(); test.checkBox2.Checked = false; test.checkBox3.Checked = false; test.checkBox4.Checked = false; test.button23_Click(null, null); bool actual; if ((test.textBox34.Text == "Select") && (test.textBox35.Text == "Select") && (test.textBox36.Text == "Select")) { actual = true; } else actual = false; Assert.AreEqual(actual, true); }