Exemple #1
0
        public void ShouldRunMacrosFromAListOfStrings_UsingRunMacro()
        {
            var macroText = new File(TestFiles.CreateThreePoints).ReadTextLines();
            var macro     = _powerShape.LoadMacro(macroText.ToArray());

            _powerShape.RunMacro(macro);
            _powerShape.ActiveModel.Refresh();

            AssertMacroPointsAreCreated(_powerShape.ActiveModel.Points);
        }