Put the Knowledge to Work
-
Start your own LedDriver so
that you can follow along in the next chapter. You
will find starter files in
code/SandBox. Look there for a README.txt file.
-
Write a test list for a first-in first-out
CircularBuffer that holds a
series of ints.
-
Start test-driving the
CircularBuffer. Choose tests
that check the initial state and explore its
interface. Only choose tests that can pass with hard-coded return results. You will need to modify the
makefile so it can find the
CircularBuffer files. You will get a chance to finish it after the next chapter.
Copyright © 2011, The Pragmatic Bookshelf.