Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
aa0230eb
Commit
aa0230eb
authored
Dec 07, 2014
by
Davis King
Browse files
Added some unit tests
parent
46072c8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
dlib/test/matrix2.cpp
dlib/test/matrix2.cpp
+2
-0
No files found.
dlib/test/matrix2.cpp
View file @
aa0230eb
...
@@ -226,8 +226,10 @@ namespace
...
@@ -226,8 +226,10 @@ namespace
DLIB_TEST
(
floor
(
det
(
m3
)
+
0.01
)
==
-
444
);
DLIB_TEST
(
floor
(
det
(
m3
)
+
0.01
)
==
-
444
);
DLIB_TEST
(
floor
(
det
(
dm3
)
+
0.01
)
==
-
444
);
DLIB_TEST
(
floor
(
det
(
dm3
)
+
0.01
)
==
-
444
);
DLIB_TEST
(
min
(
m3
)
==
1
);
DLIB_TEST
(
min
(
m3
)
==
1
);
DLIB_TEST
(
m3
(
min_point
(
m3
).
y
(),
min_point
(
m3
).
x
())
==
1
);
DLIB_TEST
(
min
(
dm3
)
==
1
);
DLIB_TEST
(
min
(
dm3
)
==
1
);
DLIB_TEST
(
max
(
m3
)
==
52
);
DLIB_TEST
(
max
(
m3
)
==
52
);
DLIB_TEST
(
m3
(
max_point
(
m3
).
y
(),
max_point
(
m3
).
x
())
==
52
);
DLIB_TEST
(
max
(
dm3
)
==
52
);
DLIB_TEST
(
max
(
dm3
)
==
52
);
DLIB_TEST
(
sum
(
m3
)
==
112
);
DLIB_TEST
(
sum
(
m3
)
==
112
);
DLIB_TEST
(
sum
(
dm3
)
==
112
);
DLIB_TEST
(
sum
(
dm3
)
==
112
);
...
...
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