Add count check to product lines test

This commit is contained in:
Sergey Chebotar 2023-05-21 10:26:02 +03:00
parent 06b397cebf
commit fbb36fb00d

View File

@ -47,6 +47,7 @@ public class CanWriteProducts : IDisposable
Assert.Equal("TestSpecificationMultipleProductLines", products.First().Item1); Assert.Equal("TestSpecificationMultipleProductLines", products.First().Item1);
Assert.Equal("TargetSpecificationMultipleProductLines", targetProducts.First().Item1); Assert.Equal("TargetSpecificationMultipleProductLines", targetProducts.First().Item1);
Assert.Equal(2, targetProducts.First().Item2.Count());
Assert.True(Enumerable.SequenceEqual(products.First().Item2, targetProducts.First().Item2)); Assert.True(Enumerable.SequenceEqual(products.First().Item2, targetProducts.First().Item2));
} }