Add HAVE_ICONVERTIBLE to NETSTANDARD1_3

Also added unit test.
This commit is contained in:
Nathan Mascitelli
2017-07-13 17:47:27 -04:00
parent 8cfddc4da5
commit df82bdce1a
2 changed files with 7 additions and 1 deletions
@@ -254,6 +254,12 @@ namespace Newtonsoft.Json.Tests.Linq
Assert.AreEqual(JTokenType.Integer, v.Type);
Assert.AreEqual(BigInteger.Parse("123456789999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999990"), v.Value);
}
[Test]
public void JValueIConvertable()
{
Assert.IsInstanceOf(typeof(IConvertible), new JValue(0));
}
#endif
[Test]