public Uri Build(IGeneratorParameters generatorParameters, IWebPagePath basePagePath) { var uriString = ""; uriString += _baseBuilder.Build(basePagePath); uriString += _creativityPathBuilder.Build(generatorParameters.CreativityLevel); uriString += _seedPathBuilder.Build(generatorParameters.GenerationSeed); return(new Uri(uriString, UriKind.Absolute)); }
public void Build_ValidSeed_ValidResult(uint seed, string expected) { var result = _builder.Build(seed); Assert.AreEqual(expected, result, $"{result} should be {expected}"); }