public void FindCommonLetters() { var ids = Input.Day02Parse(Puzzle2Example).Select(x => new BoxId(x)).ToList(); var common = BoxId.FindCommonLetters(ids); common.Should().Be("fgij"); }
public void Puzzle2_FindCommonLetters() { var ids = Input.Day02Parse(Input.Day02).Select(x => new BoxId(x)).ToList(); var common = BoxId.FindCommonLetters(ids); common.Should().Be("krdmtuqjgwfoevnaboxglzjph"); }