public void TestGetShapePositions()
        {
            RoundProcessor roundProcessor = new RoundProcessor();

            var positions = (List <Round>)roundProcessor.GetShapePositions(new Round(new Position(), 10), new AW1070("AW 1070", 0, 0, new Size()
            {
                Width = 20, Length = 20
            }));

            Assert.Single(positions);
        }
        public void TestGetShapePositionsOutOfBounds()
        {
            RoundProcessor roundProcessor = new RoundProcessor();

            var ex = Assert.Throws <AlloyProcessorException>(() =>
            {
                var positions = roundProcessor.GetShapePositions(new Round(new Position(), 120), new AW1070("AW 1070", 8, 3, new Size()
                {
                    Width = 60, Length = 300
                }));
            });

            Assert.Contains(AlloyProcessorException.Error.ShapeOutOfBounds.ToString(), ex.Message);
        }