public void TrueTest()
        {
            bool value = true;

            NewtonsoftInteropTests.VerifyNewtonsoftInterop <bool>(value);
        }
        public void ObjectWithAttributesTest()
        {
            ObjectWithAttributes objectWithAttributes = new ObjectWithAttributes("Brandon", 42, new DateTime(1995, 04, 16), Day.Tue);

            NewtonsoftInteropTests.VerifyNewtonsoftInterop <ObjectWithAttributes>(objectWithAttributes);
        }
 private static void VerifyBinaryWriter <T>(T expectedDeserializedValue)
 {
     NewtonsoftInteropTests.VerifyWriter <T>(JsonSerializationFormat.Binary, expectedDeserializedValue);
 }
 public void NestedArrayTest()
 {
     object[,] value = { { }, { } };
     NewtonsoftInteropTests.VerifyNewtonsoftInterop <object[, ]>(value);
 }
        public void EmptyObjectTest()
        {
            object value = new object();

            NewtonsoftInteropTests.VerifyNewtonsoftInterop <object>(value);
        }
 public void NullArrayTest()
 {
     object[] value = { null, null, null };
     NewtonsoftInteropTests.VerifyNewtonsoftInterop <object[]>(value);
 }
 public void ObjectArrayTest()
 {
     object[] value = { new object(), new object() };
     NewtonsoftInteropTests.VerifyNewtonsoftInterop <object[]>(value);
 }
 public void BooleanArrayTest()
 {
     bool[] value = { true, false };
     NewtonsoftInteropTests.VerifyNewtonsoftInterop <bool[]>(value);
 }
 public void NumberArrayTest()
 {
     double[] value = { 15, 22, 0.1 };
     NewtonsoftInteropTests.VerifyNewtonsoftInterop <double[]>(value);
 }
 public void IntArrayTest()
 {
     int[] value = { -2, -1, 0, 1, 2 };
     NewtonsoftInteropTests.VerifyNewtonsoftInterop <int[]>(value);
 }
 public void EmptyArrayTest()
 {
     object[] value = { };
     NewtonsoftInteropTests.VerifyNewtonsoftInterop <object[]>(value);
 }
        public void StringTest()
        {
            string value = "Hello World";

            NewtonsoftInteropTests.VerifyNewtonsoftInterop <string>(value);
        }