Coding, Software Development, Java, Scala, Agile.
org.junit.runner.RunWith; import static org.junit.Assert.*; @RunWith(JUnitQuickcheck.class) public class StringProperties { @Property public void concatenationLength(String s1, String s2) { assertEquals(s1.length() + s2.length(), (s1 + s2).length()); } } } A Better Example Why do people post