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