setEnabled() public method

public setEnabled ( bool enabled ) : void
enabled bool
return void
コード例 #1
0
        public void testEnabled()
        {
            var source = Resources.testEnabled;
            var result = Resources.testEnabledResult;

            var compressor = new HtmlCompressor();
            compressor.setEnabled(false);

            var compress = compressor.compress(source);
            Assert.Equal(result, compress);
        }