示例#1
0
        public void ShouldBeSameIfValueIsRealString()
        {
            var    sut   = new GID(TestGID1);
            string other = TestGID1;

            (sut == other).ShouldBeTrue();
            (other == sut).ShouldBeTrue();
        }
示例#2
0
        public void ShouldReturnValuePaddedTo16CharsIfGidIsShorterThan16Chars()
        {
            var sut = new GID("1");

            "0000000000000001".ShouldBe(sut.Value);
        }