Saturday, January 14, 2006 5:52 AM
Testing Trivia: When Science fiction creeps into your code
Has any one else ever:
- Tested for 2 + 2, an expected to get back 3.99997 or the like (or hoped not to)?
- Put in Assert.AreEqual(2+2, 5); as a failure placeholder?
What sci-fi books are those two from?
Update: As noted in the comments #2 was from 1984. #1 was from The Number of the Beast by Robert A. Heinlein (When trying to make sure the ship works, they test 2 +2, to make sure it equals 4)
Filed under: .NET