public void TestBarelyFittingRectangle()
        {
            ArevaloRectanglePacker packer = new ArevaloRectanglePacker(128, 128);

            Point placement = packer.Pack(128, 128);

            Assert.AreEqual(new Point(0, 0), placement);
        }
        public void TestThrowOnTooLargeRectangle()
        {
            ArevaloRectanglePacker packer = new ArevaloRectanglePacker(128, 128);

            Assert.Throws <OutOfSpaceException>(
                delegate() { packer.Pack(129, 129); }
                );
        }