public void TestReturnsSameForSameSeed() { const int seed = 1001; var h1 = new Haikunator(seed); var h2 = new Haikunator(seed); Assert.Equal(h1.Haikunate(), h2.Haikunate()); Assert.Equal(h1.Haikunate(), h2.Haikunate()); }
public void TestZeroLengthOptionsException() { var haikunator = new Haikunator { Adjectives = null, Nouns = null }; Assert.Equal("", haikunator.Haikunate(tokenChars: null)); }