16 lines
323 B
Java
16 lines
323 B
Java
|
package stack;
|
||
|
|
||
|
import org.junit.Test;
|
||
|
|
||
|
import static org.junit.Assert.*;
|
||
|
|
||
|
public class SimplifyPathTest {
|
||
|
|
||
|
@Test
|
||
|
public void simplifyPath() {
|
||
|
String path = "/home/";
|
||
|
SimplifyPath solution = new SimplifyPath();
|
||
|
String res=solution.simplifyPath(path);
|
||
|
System.out.println(res);
|
||
|
}
|
||
|
}
|