public void ifElementsAreTheSameTrueTest() { Simplifyer simplifier = new Simplifyer(); string[] element = { "1", "0", "*", "0", "1", "*", "1", "*", "1", "1", "1", "0" }; bool result = simplifier.checkIfElementsAreTheSame(element, element); Assert.AreEqual(true, result); }
public void ifElementsAreTheSameFalseTest() { Simplifyer simplifier = new Simplifyer(); string[] first_element = { "1", "0", "*", "0", "1", "*", "1", "*", "1", "1", "1", "0" }; string[] second_element = { "1", "*", "*", "0", "1", "*", "1", "*", "1", "1", "1", "0" }; bool result = simplifier.checkIfElementsAreTheSame(first_element, second_element); Assert.AreEqual(false, result); }