mmurdoch/arduinounit — pull request #31 by nicolaspanel (2014-02-14 09:24:27+00:00)
Title: `flush()` function implementation

Implements `flush()` function to cleanup the `FakeStream`.

Example :
```c
test(myTest)
{
FakeStream stream;
stream.write(0x00);
stream.flush();
assertTrue(stream.bytesWritten() == "");
assertEqual(stream.bytesWritten().length(), 0);
}
```