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