public void StartsWithLetter() { for (var x = 1; x < 100; x++) { var g1 = new RT.XarkId(); var gs = g1.ToString(); Assert.Matches("^[A-Za-z]", gs); } }
public void RoundTrip() { for (var x = 1; x < 100; x++) { var g1 = new RT.XarkId(); var gs = g1.ToString(); var g2 = new RT.XarkId(gs); Assert.Equal(g1, g2); } }
private XarkId EmptyXarkId() { var u = new RT.XarkId(Guid.Empty); return(u); }