Skip to content

Instantly share code, notes, and snippets.

@jpsim
Created March 12, 2013 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpsim/5147996 to your computer and use it in GitHub Desktop.
Save jpsim/5147996 to your computer and use it in GitHub Desktop.
- (void)testCelsiusEqualsFarenheitAtNegativeForty {
double celsiusResult = 0;
double farenheitResult = 0;
celsiusResult = [controller convertFarenheithToCelsius:-40];
farenheitResult = [controller convertCelsiusToFarenheit:-40];
STAssertEquals(celsiusResult, farenheitResult, @"these should be the same");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment