public static void GetIntersectedCoordsCollection_ShouldReturnCollection_WhenDictionaryIsNotNullHelper <TKey, TValue>(List <List <TValue> > expectedList, IDictionary <TKey, List <TValue> > dictionary) { expectedList.Should().BeEquivalentTo(OrthogonalRectangles.GetIntersectedCoordsCollection(dictionary)); }
public static void GetIntersectedCoordsCollection_ShouldThrowException_WhenDictionaryIsNullHelper <TKey, TValue>(IDictionary <TKey, List <TValue> > dictionary) { Assert.ThrowsException <ArgumentNullException>(() => OrthogonalRectangles.GetIntersectedCoordsCollection(dictionary), "Parameter can not be null"); }