summaryrefslogtreecommitdiff
path: root/src/test/java/au/id/zancanaro/PropertyTests.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/au/id/zancanaro/PropertyTests.java')
-rw-r--r--src/test/java/au/id/zancanaro/PropertyTests.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/java/au/id/zancanaro/PropertyTests.java b/src/test/java/au/id/zancanaro/PropertyTests.java
new file mode 100644
index 0000000..0c9bb7e
--- /dev/null
+++ b/src/test/java/au/id/zancanaro/PropertyTests.java
@@ -0,0 +1,15 @@
+package au.id.zancanaro;
+
+import au.id.zancanaro.annotations.Property;
+import au.id.zancanaro.annotations.Seed;
+import org.junit.Assert;
+import org.junit.Assume;
+import org.junit.runner.RunWith;
+
+@RunWith(PropertyTestRunner.class)
+public class PropertyTests {
+ @Property
+ public void method(int a, int b) {
+ Assert.assertFalse(a < b);
+ }
+}