package stack; import org.junit.Test; import static org.junit.Assert.*; public class LargestRectangleAreaTest { @Test public void largestRectangleArea() { LargestRectangleArea solution = new LargestRectangleArea(); int[] heights = {2,1,5,6,2,3}; int res=solution.largestRectangleArea(heights); System.out.println(res); } }