Commit 48cc2d02 authored by SAURABH GUPTA's avatar SAURABH GUPTA

Added Document File

parent 1deea996
File added
...@@ -73,7 +73,7 @@ public class OrderProcessing { ...@@ -73,7 +73,7 @@ public class OrderProcessing {
} }
//Function for pending orders //Function for pending orders
public void pending() { public ArrayList<Order> pending() {
// TODO Auto-generated method stub // TODO Auto-generated method stub
for(int i=0;i<orderQueue.size();) for(int i=0;i<orderQueue.size();)
{ {
...@@ -90,6 +90,7 @@ public class OrderProcessing { ...@@ -90,6 +90,7 @@ public class OrderProcessing {
orderQueue.remove(order); orderQueue.remove(order);
} }
} }
return orderQueue;
} }
//Function for returning matched orders //Function for returning matched orders
......
package Order;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
class PendingOrder {
@Test
void test() {
OrderProcessing junit = new OrderProcessing();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment