package com.fishercoder;

import com.fishercoder.solutions._71;
import org.junit.BeforeClass;
import org.junit.Test;

import static org.junit.Assert.assertEquals;

public class _71Test {
  private static _71.Solution1 solution1;

  @BeforeClass
  public static void setup() {
    solution1 = new _71.Solution1();
  }

  @Test
  public void test1() {
    assertEquals("/home", solution1.simplifyPath("/home/"));
  }

  @Test
  public void test2() {
    assertEquals("/c", solution1.simplifyPath("/a/./b/../../c/"));
  }
}

@@ -180,16 +180,18 @@
 1Test %7B%0A
+  
   privat
@@ -225,16 +225,18 @@
 tion1;%0A%0A
+  
   @Befor
@@ -242,16 +242,18 @@
 reClass%0A
+  
   public
@@ -279,16 +279,20 @@
 ) %7B%0A    
+  
+  
 solution
@@ -316,29 +316,35 @@
 ion1();%0A
+  
   %7D%0A%0A  
+ 
+ 
 @Test%0A
+  
   public
@@ -355,24 +355,28 @@
 d test1() %7B%0A
+    
     assertEq
@@ -428,21 +428,25 @@
 ));%0A
+  
   %7D%0A%0A
+  
   @Test%0A
   pu
@@ -441,16 +441,18 @@
   @Test%0A
+  
   public
@@ -463,24 +463,28 @@
 d test2() %7B%0A
+    
     assertEq
@@ -538,14 +538,240 @@
 /c/%22));%0A
+    %7D%0A%0A    @Test%0A    public void test3() %7B%0A        assertEquals(%22/a/b/c%22, solution1.simplifyPath(%22/a//b////c/d//././/..%22));%0A    %7D%0A%0A    @Test%0A    public void test4() %7B%0A        assertEquals(%22/%22, solution1.simplifyPath(%22/.%22));%0A  
   %7D%0A%7D%0A

add test cases for 71