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