コード例 #1
0
        public void GetJsonUndefinedEnumeratorTest()
        {
            JsonValue target = AnyInstance.AnyJsonPrimitive.AsDynamic().IDontExist;
            IEnumerator <KeyValuePair <string, JsonValue> > enumerator = target.GetEnumerator();

            Assert.False(enumerator.MoveNext());
        }
コード例 #2
0
        public void GetJsonPrimitiveEnumeratorTest()
        {
            JsonValue target = AnyInstance.AnyJsonPrimitive;
            IEnumerator <KeyValuePair <string, JsonValue> > enumerator = target.GetEnumerator();

            Assert.False(enumerator.MoveNext());
        }