Skip to content

Instantly share code, notes, and snippets.

@jpsim
Created March 12, 2013 23:20
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/5148000 to your computer and use it in GitHub Desktop.
Save jpsim/5148000 to your computer and use it in GitHub Desktop.
- (void)testThatHundredCelsiusIsTwoTwelveFarenheit {
double farenheitResult = [controller convertCelsiusToFarenheit:100];
double celsiusResult = [controller convertFarenheithToCelsius:212];
STAssertEquals(farenheitResult, 212, @"should equal 212");
STAssertEquals(celsiusResult, 100, @"should equal 100");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment