diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2008-12-23 16:07:04 -0500 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2008-12-23 16:07:04 -0500 |
commit | b8d7cbcdd25c43657e4097f42af20b8bf3725b4b (patch) | |
tree | 9be315f32cabd63202f189baa89eb9f4160bfe75 /sigcore/test/TestRange.h | |
parent | eb2308b8035302b76f794e83b9cf5c5f4cff7a4c (diff) | |
download | sigen-b8d7cbcdd25c43657e4097f42af20b8bf3725b4b.tar.gz sigen-b8d7cbcdd25c43657e4097f42af20b8bf3725b4b.tar.xz sigen-b8d7cbcdd25c43657e4097f42af20b8bf3725b4b.zip |
Fixed the Range test
Diffstat (limited to 'sigcore/test/TestRange.h')
-rw-r--r-- | sigcore/test/TestRange.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sigcore/test/TestRange.h b/sigcore/test/TestRange.h new file mode 100644 index 00000000..301711a5 --- /dev/null +++ b/sigcore/test/TestRange.h @@ -0,0 +1,45 @@ +/* + * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef TESTRANGE +#define TESTRANGE + +// Sigcore includes +#include "../Range.h" + +class TestRange : public QObject +{ + Q_OBJECT + + private slots: + void set(); + void setMinimum(); + void setMaximum(); + void valid(); + void in(); + void intersection(); + void setUnion(); + void negation(); + void addition(); + void subtraction(); + void multiplication(); + void division(); + void equality(); +}; + +#endif + |