Skip to content

Instantly share code, notes, and snippets.

@alexandreaquiles
Created September 11, 2010 21:28
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 alexandreaquiles/575564 to your computer and use it in GitHub Desktop.
Save alexandreaquiles/575564 to your computer and use it in GitHub Desktop.
public class RpnCalculator {
@Test
public void NewCalculatorHas0InItsAccumulator { ... }
@Test
public void NewAccumulatorShouldAllowItsAccumulatorToBeSet { ... }
}
public class ANewlyCreatedRpnCalculatorShould {
@Test
public void Have0InItsAccumulator { ... }
@Test
public void AllowItsAccumulatorToBeSet { ... }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment