Пример #1
0
 public static void FromFlickrBase58String_ThrowsArgumentNullException_ForNullString()
 => Assert.Throws <ArgumentNullException>(() => Int64Encoder.FromFlickrBase58String(null));
Пример #2
0
 public static void FromFlickrBase58String_TestSuite(string value, long expectedValue)
 => Assert.Equal(expectedValue, Int64Encoder.FromFlickrBase58String(value));
Пример #3
0
        public static void RoundTrippingFlickrBase58Encoding_IsInvariant()
        {
            long value = 3471391110;

            Assert.Equal(value, Int64Encoder.FromFlickrBase58String(Int64Encoder.ToFlickrBase58String(value)));
        }