(String[] args)
| 52 | } |
| 53 | |
| 54 | public static void main(String[] args) { |
| 55 | |
| 56 | CircularQueue cq = new CircularQueue(); |
| 57 | cq.first = cq.last = null; |
| 58 | |
| 59 | System.out.println("Inserting value = 69"); |
| 60 | Insert(cq, 69); |
| 61 | System.out.println("Inserting value = 12"); |
| 62 | Insert(cq, 12); |
| 63 | System.out.println("Inserting value = 42"); |
| 64 | Insert(cq, 42); |
| 65 | |
| 66 | displayCircularQueue(cq); |
| 67 | |
| 68 | System.out.printf("\nDeleting value = %d", Delete(cq)); |
| 69 | System.out.printf("\nDeleting value = %d", Delete(cq)); |
| 70 | |
| 71 | displayCircularQueue(cq); |
| 72 | |
| 73 | System.out.println(); |
| 74 | System.out.println(); |
| 75 | System.out.println("Inserting value = 21"); |
| 76 | Insert(cq, 21); |
| 77 | System.out.println("Inserting value = 3"); |
| 78 | Insert(cq, 3); |
| 79 | displayCircularQueue(cq); |
| 80 | } |
| 81 | } |
nothing calls this directly
no test coverage detected