Skip to content

Instantly share code, notes, and snippets.

@jpsim
Created March 12, 2013 23:19
Show Gist options
  • Save jpsim/5147998 to your computer and use it in GitHub Desktop.
Save jpsim/5147998 to your computer and use it in GitHub Desktop.
- (void)testThatThirtyTwoFarenheitEqualsZeroCelsius {
double celsiusResult = [controller convertFarenheithToCelsius:32];
double farenheitResult = [controller convertCelsiusToFarenheit:0];
STAssertEquals(celsiusResult, 0, @"should be zero");
STAssertEquals(farenheitResult, 32, @"should equal 32");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment