Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gesa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
extractor
gesa
Commits
e1824607
Commit
e1824607
authored
Jan 15, 2018
by
jkvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testing childtab for example of Jeon et al.
parent
2737712f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
Makefile
Makefile
+1
-1
tests/test_1.c
tests/test_1.c
+16
-0
No files found.
Makefile
View file @
e1824607
...
...
@@ -26,7 +26,7 @@ tests: CFLAGS += -O0 -DDEBUG -ggdb3
tests
:
debug $(LIBS)
$(MAKE)
-C
tests run_tests
all
:
$(TARGET)
all
:
$(TARGET)
$(LIBS)
clean
:
rm
-f
$(OBJECTS)
$(DEPS)
$(TARGET)
...
...
tests/test_1.c
View file @
e1824607
...
...
@@ -15,5 +15,21 @@ int main(int argc, char* argv[])
printf
(
"test 1
\n
"
);
GESA
gesa
;
assert
(
GESA_create
(
&
gesa
,
(
GESA_char_t
*
)
"accttacgacgaccttcca~"
,
21
)
==
0
);
GESA_print
(
&
gesa
,
stdout
);
GESA_index_t
*
childtab
=
malloc
(
21
*
sizeof
(
*
childtab
));
assert
(
childtab
!=
0
);
GESA_calculate_childtab
(
&
gesa
,
childtab
);
for
(
size_t
i
=
0
;
i
<
21
;
++
i
)
{
printf
(
"%5ld %5d
\n
"
,
i
,
childtab
[
i
]);
}
// for
return
EXIT_SUCCESS
;
}
// main
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment