Geeks With Blogs
Morgan Persson January 2012 Entries
My take on TDD & binary search
Jason Gorman blogged about TDD and binary search. He also followed up with a 2nd take. The question Jason raised was, will you end up with binary search using TDD. Jason also mentions Uncle Bob's transformation priority premise which is an interesting idea. Looking at Jason's attempts I thought that maybe you could take even smaller steps, I couldn’t resist to try so here’s how I did it. My first test is the same as Jason's: [Test] public void When_key_is_not_found_index... { ......

Posted On Sunday, January 8, 2012 4:06 PM

Copyright © Lazydev | Powered by: GeeksWithBlogs.net