public void Encode_Nulllabel() { Assert.Throws <ArgumentNullException>(() => { ShortGuidString.Encode(Raw, null); }); }
public void Encode_WithLabel() { Assert.Equal("Cheesecake " + EncodedShort, ShortGuidString.Encode(Raw, "Cheesecake")); }
public void Encode_WithLabel_Tricky() { Assert.Equal("* " + EncodedShort, ShortGuidString.Encode(Raw, "*")); }
public void Encode_WithoutLabel() { Assert.Equal(EncodedShort, ShortGuidString.Encode(Raw)); }