private void TestMultipleShapesFixed(IPositionsLabController positionsLab) { Slide actualSlide = PpOperations.SelectSlide(OriginalShapesSlideNoTestMultipleFixed); _shapeNames = new List<string> { Rectangle, Oval, Triangle }; Shape shapeStart = PpOperations.SelectShape(Oval)[1]; Shape shapeEnd = PpOperations.SelectShape(Target)[1]; PpOperations.SelectShapes(_shapeNames); positionsLab.ReorientFixed(); positionsLab.ToggleDuplicateAndRotateButton(); RotateShape(shapeStart, shapeEnd); Slide expSlide = PpOperations.SelectSlide(ExpectedShapesSlideNoTestMultipleFixed); SlideUtil.IsSameLooking(expSlide, actualSlide); }
private void TestOneShapeDynamic(IPositionsLabController positionsLab) { var actualSlide = PpOperations.SelectSlide(OriginalShapesSlideNoTestOneDynamic); _shapeNames = new List <string> { Rectangle, Triangle }; Shape shapeStart = PpOperations.SelectShape(Triangle)[1]; Shape shapeEnd = PpOperations.SelectShape(Target)[1]; PpOperations.SelectShapes(_shapeNames); positionsLab.ReorientDynamic(); positionsLab.ToggleDuplicateAndRotateButton(); RotateShape(shapeStart, shapeEnd); var expSlide = PpOperations.SelectSlide(ExpectedShapesSlideNoTestOneDynamic); SlideUtil.IsSameLooking(expSlide, actualSlide); }