MinimumOf() public static method

public static MinimumOf ( IEnumerable boxes ) : BoundingBox
boxes IEnumerable
return Catalogue.Gemini.Model.BoundingBox
        public void should_be_correct_for_single_box()
        {
            var box = new BoundingBox {
                North = 21.9259m, West = -63.8981m, South = 17.9476m, East = -60.6832m
            };

            var min = BoundingBoxUtility.MinimumOf(new[] { box });

            min.North.Should().Be(box.North);
            min.West.Should().Be(box.West);
        }
        public void should_be_correct_for_one_box_overlapping_the_other()
        {
            var southernIrishSea = new BoundingBox {
                North = 53.65873m, West = -6.967625m, South = 51.23337m, East = -3.950034m
            };
            var englishChannel = new BoundingBox {
                North = 52.065138m, West = -9.793268m, South = 48.264071m, East = 1.939627m
            };

            var min = BoundingBoxUtility.MinimumOf(new[] { southernIrishSea, englishChannel });

            // the southern irish sea is to the north of the english channel
            // but the english channel spans further to the east and west

            min.North.Should().Be(southernIrishSea.North);
            min.South.Should().Be(englishChannel.South);
            min.East.Should().Be(englishChannel.East);
            min.West.Should().Be(englishChannel.West);
        }