Esempio n. 1
0
        public void BaseStreamCallsFlush()
        {
            FlushStream  stream = new FlushStream();
            BinaryWriter writer = new BinaryWriter(stream);
            Stream       s      = writer.BaseStream;

            Assert.IsTrue(stream.FlushCalled);
        }
Esempio n. 2
0
	public void BaseStreamCallsFlush ()
	{
		FlushStream stream = new FlushStream ();
		BinaryWriter writer = new BinaryWriter (stream);
		Stream s = writer.BaseStream;
		Assert.IsTrue (stream.FlushCalled);
	}