projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56d2d02
)
More tests
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 8 May 2019 06:10:59 +0000
(23:10 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 8 May 2019 06:10:59 +0000
(23:10 -0700)
src/test-algs.cc
patch
|
blob
|
history
diff --git
a/src/test-algs.cc
b/src/test-algs.cc
index
0a8fcbf
..
d6f34d7
100644
(file)
--- a/
src/test-algs.cc
+++ b/
src/test-algs.cc
@@
-66,6
+66,9
@@
main (int argc, char **argv)
assert (8 == hb_max (3, 8, 1, 2));
int x = 1, y = 2;
+ hb_min (x, 3);
+ hb_min (3, x, 4);
+ hb_min (3, x, 4 + 3);
int &z = hb_min (x, y);
z = 3;
assert (x == 3);