Skip to content

Instantly share code, notes, and snippets.

@alexandreaquiles
Created September 11, 2010 21:28
Show Gist options
  • Select an option

  • Save alexandreaquiles/575564 to your computer and use it in GitHub Desktop.

Select an option

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