public void isInputValid(char s) { functions _f = new functions(); bool ValidInput = _f.InputValid(s); Assert.Equal(true, ValidInput); }
public void isDNASequenceInvalid(string DNA) { bool ValidInput = true; functions _f = new functions(); char[] sequenceDNA = DNA.ToCharArray(); foreach (char c in sequenceDNA) { ValidInput = _f.InputValid(c); if (!ValidInput) { break; } } Assert.Equal(false, ValidInput); }