1 /*------------------------------------------------------------\
2 |                                                             |
3 | This file is part of the Alliance CAD System Copyright      |
4 | (C) Laboratoire LIP6 - D�partement ASIM Universite P&M Curie|
5 |                                                             |
6 | Home page      : http://www-asim.lip6.fr/alliance/          |
7 | E-mail         : mailto:alliance-users@asim.lip6.fr       |
8 |                                                             |
9 | This progam is  free software; you can redistribute it      |
10 | and/or modify it under the  terms of the GNU Library General|
11 | Public License as published by the Free Software Foundation |
12 | either version 2 of the License, or (at your option) any    |
13 | later version.                                              |
14 |                                                             |
15 | Alliance VLSI  CAD System  is distributed  in the hope that |
16 | it  will be useful, but WITHOUT  ANY WARRANTY;              |
17 | without even the  implied warranty of MERCHANTABILITY or    |
18 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General       |
19 | Public License for more details.                            |
20 |                                                             |
21 | You should have received a copy  of the GNU General Public  |
22 | License along with the GNU C Library; see the file COPYING. |
23 | If not, write to the Free Software Foundation, Inc.,        |
24 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                     |
25 |                                                             |
26 \------------------------------------------------------------*/
27 #ifndef __P
28 # if defined(__STDC__) ||  defined(__GNUC__)
29 #  define __P(x) x
30 # else
31 #  define __P(x) ()
32 # endif
33 #endif
34 /*------------------------------------------------------------\
35 |                                                             |
36 | Tool    :                     Aut                           |
37 |                                                             |
38 | File    :                  auttest.h                        |
39 |                                                             |
40 | Date    :                   03.12.96                        |
41 |                                                             |
42 | Author  :               Jacomme Ludovic                     |
43 |                                                             |
44 \------------------------------------------------------------*/
45 
46 # ifndef AUT_TEST_H
47 # define AUT_TEST_H
48 
49 /*------------------------------------------------------------\
50 |                                                             |
51 |                           Constants                         |
52 |                                                             |
53 \------------------------------------------------------------*/
54 
55 # define AUT_TEST_MAX_COMMAND      14
56 # define AUT_TEST_BUFFER_SIZE     512
57 
58 /*------------------------------------------------------------\
59 |                                                             |
60 |                            Macro                            |
61 |                                                             |
62 \------------------------------------------------------------*/
63 /*------------------------------------------------------------\
64 |                                                             |
65 |                            Types                            |
66 |                                                             |
67 \------------------------------------------------------------*/
68 
69   typedef struct command
70   {
71     char *NAME;
72     void (*FUNCTION)();
73 
74   } command;
75 
76 /*------------------------------------------------------------\
77 |                                                             |
78 |                          Variables                          |
79 |                                                             |
80 \------------------------------------------------------------*/
81 /*------------------------------------------------------------\
82 |                                                             |
83 |                          Functions                          |
84 |                                                             |
85 \------------------------------------------------------------*/
86 
87   static void TestCommandExit();
88   static void TestCommandHelp();
89 
90   static void TestCommandAddElement();
91   static void TestCommandViewElement();
92   static void TestCommandDelElement();
93 
94   static void TestCommandAddElement2();
95   static void TestCommandViewElement2();
96   static void TestCommandDelElement2();
97 
98   static void TestCommandViewHash();
99   static void TestCommandViewHash2();
100 
101   static void TestCommandReset();
102   static void TestCommandReset2();
103 
104 # endif
105