public void AllDistinctNamesTest() { var result = Linq.AllDistinctNames(values); CollectionAssert.AreEquivalent(new List <string>() { "Names1", "Names2", "Names14", "Nam4es24", "Na12mes15", "Na3mes25" }, result); }