public void test4x4Choose() { LevelChooser lv = new Chooselv4(); Assert.AreEqual(7,lv.selectedlv("Easy")); Assert.AreEqual(6, lv.selectedlv("Normal")); Assert.AreEqual(5, lv.selectedlv("Hard")); }
public void testGenOK3() { solve s = new solve(); GenerateNumber g = new Generate4(); LevelChooser lv = new Chooselv4(); int[,] test = new int[4, 4]; Assert.AreNotEqual(test, g.generatePosition(s.getSolve(), lv.selectedlv("Hard"))); }
private void comboBox2_SelectedIndexChanged(object sender, EventArgs e) { LevelChooser c1 = new Chooselv4(); valueLevel4x4 = c1.selectedlv(comboBox2.Text); }