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