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); }
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); } }