コード例 #1
0
        public void CustomToolWithRegionBase_Ctor_ValidRegions_HasCorrectHeights()
        {
            //------------Setup for test--------------------------
            var b = new ImplRegionBase(ModelItemUtils.CreateModelItem(new DsfFileRead()), new List <IToolRegion> {
                new Region()
                {
                    IsEnabled = true
                }, new Region()
                {
                    IsEnabled = true
                }
            });

            //------------Execute Test---------------------------

            //------------Assert Results-------------------------
        }
コード例 #2
0
        public void CustomToolWithRegionBase_Ctor()
        {
            CustomToolWithRegionBase b = new ImplRegionBase(ModelItemUtils.CreateModelItem(new DsfFileRead()));

            b.Regions = b.BuildRegions();
        }