public void AssignmentEnsureMatchShowSingleWillFailIfInputDoesNotMatch() { Assignment test = new Assignment(); test.CheckIfInputMatchesShowSinglePattern("showw a"); Assert.IsFalse(test.IsInputValid); }
public void AssignmentEnsureAssignmentNameChangedCorrectlyForShowSinglePattern() { Assignment test = new Assignment(); test.CheckIfInputMatchesShowSinglePattern("show a"); string expected_variable_name = "a"; string actual_variable_name = test.AssignmentVariable; Assert.AreEqual(expected_variable_name, actual_variable_name); }