public async Task TabDelimitedTextSerializer_DeserializeAsync_Test()
        {
            await using var stream = File.OpenRead("TestFiles\\ProjectInfo.tab");
            var collection = await _serializer.DeserializeAsync(stream);

            Assert.AreEqual(1409, collection.Count);
            _expected.ShouldDeepEqual(collection);
        }
Exemplo n.º 2
0
        public async Task TabDelimitedTextSerializer_DeserializeAsync_Test()
        {
            var serializer = new TabDelimitedTextSerializer();

            using (var stream = File.OpenRead("..\\..\\TestFiles\\ProjectInfo.tab"))
            {
                var collection = await serializer.DeserializeAsync(stream);

                Assert.AreEqual(1409, collection.Count);
            }
        }