Blogs


Things That Go Boom
It is easier to make a safe light bulb than to make a safe explosive.

Abstractions For Binary Search, Part 10: Putting It All Together
After the discussions of the last few weeks, we are finally ready to build our test cases.

The Touch of a Button
Of course, I wasn't satisfied with the simple approach, so I added a bit of code to sense swipes much as you would find on a touchscreen phone.

Abstractions For Binary Search, Part 9: What Do We Need to Test?
Many people confuse the idea of a test case working correctly with the idea of a program producing correct output.

Abstractions for Binary Search, Part 8: What Does It Mean To Say "It Works?"
Last week, we talked in general terms about how to test a binary-search function. Now let's get specific.

Ham for the Holidays
As I look around my lab, I see no fewer than 12 development boards of different kinds.

Abstractions For Binary Search, Part 7: Choosing Test Cases
Binary search is a particularly instructive algorithm to figure out how to test.

Embedded Goes to Shell
I converted the standard Linux shell (bash) into a specialized programming language that can control a serial I/O board.

Abstractions For Binary Search, Part 6: How On Earth Do You Test It?
We will reduce a substantial part of our problem to calling these two functions repeatedly with suitably chosen test cases and verifying that they return the same results.