public void PageSize_Roundtrips()
        {
            TableUtilsWrapper wrapper = new TableUtilsWrapper();
            PropertyAssert.Roundtrips(wrapper, w => w.PageSize, defaultValue: 50, roundtripValue: 100, minLegalValue: 1, illegalLowerValue: 0);

            // reset this static value for future tests
            wrapper.PageSize = 50;
        }
예제 #2
0
        public void PageSize_Roundtrips()
        {
            TableUtilsWrapper wrapper = new TableUtilsWrapper();

            PropertyAssert.Roundtrips(wrapper, w => w.PageSize, defaultValue: 50, roundtripValue: 100, minLegalValue: 1, illegalLowerValue: 0);

            // reset this static value for future tests
            wrapper.PageSize = 50;
        }