public void StringToGuidTest() { var guid = new Guid(); var guidStr = guid.ToString(); var guid2 = GuidConv.ToGuid(guidStr); Assert.Equal(guid, guid2); }
public void ConvertFailureTest(object obj) { var guid = GuidConv.ToGuid(obj); Assert.Equal(Guid.Empty, guid); }