Esempio n. 1
0
 public void ShouldReturn_0()
 {
     Assert.AreEqual("0", ShortenedUrlGenerator.GenerateNext(null));
 }
Esempio n. 2
0
 public void ShouldReturn_hYhLKAj0()
 {
     Assert.AreEqual("hYhLKAj0", ShortenedUrlGenerator.GenerateNext("hYhLKAiz"));
 }
Esempio n. 3
0
 public void ShouldReturn_a()
 {
     Assert.AreEqual("a", ShortenedUrlGenerator.GenerateNext("Z"));
 }
Esempio n. 4
0
 public void ShouldReturn_10()
 {
     Assert.AreEqual("10", ShortenedUrlGenerator.GenerateNext("0z"));
 }
Esempio n. 5
0
 public void ShouldReturn_A()
 {
     Assert.AreEqual("A", ShortenedUrlGenerator.GenerateNext("9"));
 }