public void CamelCaseTokenizer(string term, string[] tokens) { // Act var result = PackageIndexEntity.TokenizeId(term); // Assert Assert.Equal(tokens.OrderBy(p => p), result.OrderBy(p => p)); }
public void CamelIdSplitter(string term, string tokens) { var result = PackageIndexEntity.CamelSplitId(term); Assert.Equal(result, tokens); }