Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dssp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
dssp
Commits
833a10f3
Unverified
Commit
833a10f3
authored
Jul 23, 2023
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unit test
version bump
parent
d41e420e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
CMakeLists.txt
+1
-1
changelog
+3
-0
test/unit-test-dssp.cpp
+4
-1
No files found.
CMakeLists.txt
View file @
833a10f3
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
cmake_minimum_required
(
VERSION 3.15
)
cmake_minimum_required
(
VERSION 3.15
)
# set the project name
# set the project name
project
(
mkdssp VERSION 4.4.
1
LANGUAGES CXX
)
project
(
mkdssp VERSION 4.4.
2
LANGUAGES CXX
)
list
(
APPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
list
(
APPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
...
...
changelog
View file @
833a10f3
Version 4.4.2
- Fix unit test
Version 4.4.1
Version 4.4.1
- Generate documentation only when requested
- Generate documentation only when requested
...
...
test/unit-test-dssp.cpp
View file @
833a10f3
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include "dssp.hpp"
#include "dssp.hpp"
#include "dssp-io.hpp"
#include "dssp-io.hpp"
#include "revision.hpp"
#include <cif++/dictionary_parser.hpp>
#include <cif++/dictionary_parser.hpp>
...
@@ -99,7 +100,9 @@ BOOST_AUTO_TEST_CASE(ut_dssp)
...
@@ -99,7 +100,9 @@ BOOST_AUTO_TEST_CASE(ut_dssp)
std
::
string
line_t
,
line_r
;
std
::
string
line_t
,
line_r
;
BOOST_CHECK
(
std
::
getline
(
test
,
line_t
)
and
std
::
getline
(
reference
,
line_r
));
BOOST_CHECK
(
std
::
getline
(
test
,
line_t
)
and
std
::
getline
(
reference
,
line_r
));
const
char
*
kHeaderLineStart
=
"==== Secondary Structure Definition by the program DSSP, NKI version 4.4.0 ===="
;
char
kHeaderLineStart
[]
=
"==== Secondary Structure Definition by the program DSSP, NKI version 4.4.0 ===="
;
memcpy
(
kHeaderLineStart
+
69
,
kVersionNumber
,
strlen
(
kVersionNumber
));
BOOST_CHECK
(
line_t
.
compare
(
0
,
std
::
strlen
(
kHeaderLineStart
),
kHeaderLineStart
)
==
0
);
BOOST_CHECK
(
line_t
.
compare
(
0
,
std
::
strlen
(
kHeaderLineStart
),
kHeaderLineStart
)
==
0
);
// BOOST_CHECK(line_r.compare(0, std::strlen(kHeaderLineStart), kHeaderLineStart) == 0);
// BOOST_CHECK(line_r.compare(0, std::strlen(kHeaderLineStart), kHeaderLineStart) == 0);
...
...
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