Experimenting with the simple asserts in cmocka
Experimenting with the set based asserts in cmocka
Moved the assert tests to their own file. I'll use a file as a test grouping.
Started a file to experiment with cmocka mocking. Running tests from two files. I'll mock io.h next
Now mocking io_read(). That was painless.  Next mock io_write
Mocking io_write().  Experiment next with the mocks and call order
My experiments showed that call order is enforced, though I can't write a test to show it
This test shows that mocks don't know about each other. No call order if checked between mocks. This test will fail if that changes
During the experiments, I noticed that error counts are not accumulated if 'run_tests()' is called twice. So I added a test summary.
Added the files for the flash driver, and its off-target tests. It would be better if each file announced its tests. Adding that next.
Added announcement output for each test file
Added the flow chart for telling the flash device to program a location in memory.  Time to test drive that function
The first test case io_read() return result was chose so there would be no need to program the ready loop.