/* * JFLAP - Formal Languages and Automata Package * * * Susan H. Rodger * Computer Science Department * Duke University * August 27, 2009 * Copyright (c) 2002-2009 * All rights reserved. * JFLAP is open source software. Please see the LICENSE for terms. * */ package pumping; import pumping.reg.*; import pumping.cf.*; /** * This class is simply used to test Pumping Lemma languages and whether given strings are in them. * * @author Chris Morgan */ public class LanguageTester { private void test(PumpingLemma p, String[] s, int n) { for (int i=0; i