1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/src/java-tests/isac/util/tactics/TestTactic.java Sun Jun 26 15:05:36 2005 +0200
1.3 @@ -0,0 +1,40 @@
1.4 +/*
1.5 + * @author Walther Neuper, member of the ISAC-team,
1.6 + * Copyright (c) 2005 by Walther Neuper
1.7 + * created Jun 26, 2005 2:05:56 PM
1.8 + * Institute for Softwaretechnology, Graz University of Technology, Austria.
1.9 + *
1.10 + * Use is subject to PGPL license terms.
1.11 + */
1.12 +package isac.util.tactics;
1.13 +
1.14 +import java.util.Vector;
1.15 +
1.16 +import junit.framework.TestCase;
1.17 +
1.18 +/**
1.19 + * @author neuper
1.20 + *
1.21 + * TODO To change the template for this generated type comment go to Window -
1.22 + * Preferences - Java - Code Style - Code Templates
1.23 + */
1.24 +public class TestTactic extends TestCase {
1.25 +
1.26 + /**
1.27 + * generate some Tactic's
1.28 + */
1.29 + public void testTactics() throws Exception {
1.30 + System.out.println("---BEGIN isac.util.tactics.TestTactic#testTactics");
1.31 +
1.32 + Vector keylist = new Vector();
1.33 + keylist.add("normalize");
1.34 + keylist.add("polynomial");
1.35 + keylist.add("univariate");
1.36 + keylist.add("equation");
1.37 + Tactic tac = new StringListTactic("Specify_Problem", keylist);
1.38 + assertEquals("Specify_Problem [\"normalize\",\"polynomial\","
1.39 + + "\"univariate\",\"equation\"]", tac.toSMLString());
1.40 +
1.41 + System.out.println("---END isac.util.tactics.TestTactic#testTactics");
1.42 + }
1.43 +}
1.44 \ No newline at end of file