projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output: Remove PostScript driver.
[pspp-builds.git]
/
tests
/
libpspp
/
hmapx-test.c
diff --git
a/tests/libpspp/hmapx-test.c
b/tests/libpspp/hmapx-test.c
index fc08ca6161040a89d1c54574cb6f6ec2866886fb..5ad5d5723fcbc128645552ced1fb6de2a07c4dff 100644
(file)
--- a/
tests/libpspp/hmapx-test.c
+++ b/
tests/libpspp/hmapx-test.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2008
, 2009
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-262,6
+262,7
@@
check_hmapx (struct hmapx *hmapx, const int data[], size_t cnt,
size_t i, j;
int *order;
size_t i, j;
int *order;
+ check (hmapx_is_empty (hmapx) == (cnt == 0));
check (hmapx_count (hmapx) == cnt);
check (cnt <= hmapx_capacity (hmapx));
check (hmapx_count (hmapx) == cnt);
check (cnt <= hmapx_capacity (hmapx));