Skip to content

Instantly share code, notes, and snippets.

@vandershraaf
Created February 23, 2013 07:46
Show Gist options
  • Save vandershraaf/5018876 to your computer and use it in GitHub Desktop.
Save vandershraaf/5018876 to your computer and use it in GitHub Desktop.
public class SimpleCounter {
public static int counter = 0;
public SimpleCounter(){
}
public void addOne(){
counter++;
}
}
public class TestSimpleCounter {
@Test
public void testCountOne(){
}
public void testCountTwo(){
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment