Esempio n. 1
0
        public void GetString_NullFormat_IsValid()
        {
            GuidConverter converter = new GuidConverter();

            string result = converter.GetString(new Guid(new byte[16]));

            Assert.Equal("00000000-0000-0000-0000-000000000000", result);
        }
Esempio n. 2
0
        public void GetString_FormatSpecified_IsValid()
        {
            GuidConverter converter = new GuidConverter("N");

            string result = converter.GetString(new Guid(new byte[16]));

            Assert.Equal("00000000000000000000000000000000", result);
        }
Esempio n. 3
0
        public void GetString_FormatSpecified_IsValid()
        {
            GuidConverter converter = new GuidConverter("N");

            string result = converter.GetString(new Guid(new byte[16]));

            Assert.Equal("00000000000000000000000000000000", result);
        }
Esempio n. 4
0
        public void GetString_NullFormat_IsValid()
        {
            GuidConverter converter = new GuidConverter();

            string result = converter.GetString(new Guid(new byte[16]));

            Assert.Equal("00000000-0000-0000-0000-000000000000", result);
        }