Skip to content

Commit

Permalink
Initial commit. Set up gradle java-lib project.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannestegner committed Oct 20, 2017
1 parent 145e65c commit 2ae2a40
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*


.idea/
.gradle/
build/
10 changes: 10 additions & 0 deletions src/main/java/Personnummer.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
public class Personnummer {

public boolean verify(String value) {
return false;
}

public boolean verify(Long value) {
return false;
}
}
12 changes: 12 additions & 0 deletions src/test/java/PersonnummerTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import org.junit.Test;

import static org.junit.Assert.*;

public class PersonnummerTest {

@Test
public void testVerifySuccess() {}

@Test
public void testVerifyFail() {}
}

0 comments on commit 2ae2a40

Please sign in to comment.