biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add nblib backend: Part 1 of 2
[alexxy/gromacs.git]
/
api
/
nblib
/
tests
/
box.cpp
diff --git
a/api/nblib/tests/box.cpp
b/api/nblib/tests/box.cpp
index 4527033c6f0ee3a5c9fda0208cf8e838f8e6891f..45900e7af84dfd2cb48ef0ff7e283c762178fbae 100644
(file)
--- a/
api/nblib/tests/box.cpp
+++ b/
api/nblib/tests/box.cpp
@@
-85,8
+85,12
@@
TEST(NBlibTest, CubicBoxWorks)
Box test = Box(length);
for (int i = 0; i < dimSize; ++i)
+ {
for (int j = 0; j < dimSize; ++j)
+ {
EXPECT_REAL_EQ_TOL(ref[i][j], test.legacyMatrix()[i][j], defaultRealTolerance());
+ }
+ }
}
} // namespace nblib