Reduce inner and outer loop test time for S.T.Json (dotnet/corefx#35776)
authorAhson Khan <ahkha@microsoft.com>
Tue, 5 Mar 2019 19:47:31 +0000 (11:47 -0800)
committerGitHub <noreply@github.com>
Tue, 5 Mar 2019 19:47:31 +0000 (11:47 -0800)
commitd66ac56c5777fd19d440e9d5d63b3981fbe7fa9b
treeca8bcdd899d6bb2e61cad1b1ec0fac596d55de4b
parent54a7a7ca95bd481b5fb8c039a4c5a3042f5885c3
Reduce inner and outer loop test time for S.T.Json (dotnet/corefx#35776)

* Reduce inner and outer loop test time for S.T.Json

* Remove redundant sequence slicing, only compare the SequencePositions.

Commit migrated from https://github.com/dotnet/corefx/commit/0c264c6d61cd6d18fbe7a760606f0e8548ff334d
src/libraries/System.Text.Json/tests/BitStackTests.cs
src/libraries/System.Text.Json/tests/JsonTestHelper.cs
src/libraries/System.Text.Json/tests/Utf8JsonReaderTests.MultiSegment.cs
src/libraries/System.Text.Json/tests/Utf8JsonReaderTests.cs
src/libraries/System.Text.Json/tests/Utf8JsonWriterTests.cs