1 /****************************************************************\
2 *                                                                *
3 *  C4 dynamic programming library - alignment code               *
4 *                                                                *
5 *  Guy St.C. Slater..   mailto:guy@ebi.ac.uk                     *
6 *  Copyright (C) 2000-2009.  All Rights Reserved.                *
7 *                                                                *
8 *  This source code is distributed under the terms of the        *
9 *  GNU General Public License, version 3. See the file COPYING   *
10 *  or http://www.gnu.org/licenses/gpl.txt for details            *
11 *                                                                *
12 *  If you use this code, please keep this notice intact.         *
13 *                                                                *
14 \****************************************************************/
15 
16 #include <glib.h>
17 
18 #include "alignment.h"
19 #include "match.h"
20 
Argument_main(Argument * arg)21 gint Argument_main(Argument *arg){
22     register Region *region = Region_create_blank();
23     register C4_Model *model = C4_Model_create("test");
24     register Alignment *alignment;
25     register Match *match;
26     Match_ArgumentSet_create(arg);
27     Argument_process(arg, "alignment.test", NULL, NULL);
28     match = Match_find(Match_Type_DNA2DNA);
29     C4_Model_add_transition(model, "start to end",
30                             NULL, NULL, 1, 1, NULL, C4_Label_MATCH,
31                             match);
32     C4_Model_close(model);
33     alignment = Alignment_create(model, region, 0);
34     g_message("alignment test");
35     Alignment_destroy(alignment);
36     C4_Model_destroy(model);
37     Region_destroy(region);
38     return 0;
39     }
40 /* Proper testing is done with the model tests
41  */
42 
43