Skip to content

Instantly share code, notes, and snippets.

@lchanmann
Last active August 23, 2016 22:14
Show Gist options
  • Select an option

  • Save lchanmann/dff071e205b68d88e7b36dde9cbfd261 to your computer and use it in GitHub Desktop.

Select an option

Save lchanmann/dff071e205b68d88e7b36dde9cbfd261 to your computer and use it in GitHub Desktop.
JMinitest: First failing test
public class Program {
public static void main(String[] args) {
LinkedList list = new LinkedList();
assert list.size() == 0 : "Expected 0 but was " + list.size();
// All tests are passed!
System.out.println("All tests are passed!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment