public void MutantDetector_IsMutant_DnaMutant5x5Vertical_Succeeds() { //Arrange MutantDetector detector = new MutantDetector(); string[] dna = { "AACCT", "ACTGC", "CCTGG", "GATCC", "TATGA", }; //Action bool result = detector.IsMutant(dna); //Asserts Assert.IsTrue(result); }
public void MutantDetector_IsMutant_DnaMutant5x5DiagonalRight_Succeeds() { //Arrange MutantDetector detector = new MutantDetector(); string[] dna = { "AACCT", "TCTGC", "CTAGG", "GATCC", "TTCTA", }; //Action bool result = detector.IsMutant(dna); //Asserts Assert.IsTrue(result); }
public void MutantDetector_IsMutant_DnaMutant5x5LowerLetters_Succeeds() { //Arrange MutantDetector detector = new MutantDetector(); string[] dna = { "AACCT", "ACTGC", "ccccG", "GATCC", "TTCGA", }; //Action bool result = detector.IsMutant(dna); //Asserts Assert.IsTrue(result); }