public void testGetErrorCorrectedMessageA() { var input = @"eedadn drvtee eandsr raavrd atevrs tsrnev sdttsa rasrtv nssdts ntnada svetve tesnvt vntsnd vrdear dvrsen enarar"; var sot = new DaySix(); var resultDesc = sot.GetErrorCorrectedMessage(input, false); Assert.Equal("easter", resultDesc); var resultAsc = sot.GetErrorCorrectedMessage(input, true); Assert.Equal("advent", resultAsc); }
public void testWithActualPartB() { var sot = new DaySix(); var result = sot.GetErrorCorrectedMessage(DaySix.PUZZLE_INPUT, true); Assert.Equal("odqnikqv", result); }
public void testWithActualPartA() { var sot = new DaySix(); var result = sot.GetErrorCorrectedMessage(DaySix.PUZZLE_INPUT, false); Assert.Equal("asvcbhvg", result); }