-Test
This commit is contained in:
@@ -183,6 +183,14 @@ namespace Newtonsoft.Json.Tests
|
|||||||
public string favoriteFruit { get; set; }
|
public string favoriteFruit { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void DeserializeDoubleList()
|
||||||
|
{
|
||||||
|
var json = new JArray(Enumerable.Range(0, 5000).Select(i => (double)i)).ToString(Formatting.None);
|
||||||
|
|
||||||
|
BenchmarkDeserializeMethod<IList<double>>(SerializeMethod.JsonNet, json, 1000);
|
||||||
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void DeserializeLargeJson()
|
public void DeserializeLargeJson()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user