Skip to content

Commit

Permalink
Improve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
safris committed Jul 20, 2019
1 parent 4069675 commit 63eaf7b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/test/java/org/libj/io/FileUtilTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@
import org.junit.Test;

public class FileUtilTest {
@Test
public void testGetCwd() {
final File cwd = FileUtil.getCwd();
assertNotNull(cwd);
assertSame(cwd, FileUtil.getCwd());
}

@Test
public void testGetTempDir() {
final File tmp = FileUtil.getTempDir();
assertNotNull(tmp);
assertSame(tmp, FileUtil.getTempDir());
}

@Test
public void testCommonality() {
try {
Expand Down

0 comments on commit 63eaf7b

Please sign in to comment.