// CSE 143 // This testing program stub creates a queue of HTML tags // in a valid sequence. // You may use this as a starting point for testing // your removeAll method. import java.util.*; public class HTMLManagerTest { public static void main(String[] args) { // Hi
Queue tags = new LinkedList(); tags.add(new HTMLTag("b", HTMLTagType.OPENING)); // tags.add(new HTMLTag("b", HTMLTagType.CLOSING)); // tags.add(new HTMLTag("br", HTMLTagType.SELF_CLOSING)); //
HTMLManager manager = new HTMLManager(tags); // YOUR TESTS GO HERE } }