diff options
Diffstat (limited to 'tests/unit_tests/intset.h')
-rw-r--r-- | tests/unit_tests/intset.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/tests/unit_tests/intset.h b/tests/unit_tests/intset.h new file mode 100644 index 00000000..85b94b82 --- /dev/null +++ b/tests/unit_tests/intset.h @@ -0,0 +1,54 @@ +/* main.vala + * + * Copyright (C) 2008 Rob Taylor + * + * This library is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 2.1 of the License, or + * (at your option) any later version. + * + * This library 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this library. If not, see <http://www.gnu.org/licenses/>. + * + * Author: + * Rob Taylor <rob.taylor@codethink.co.uk> + */ + +#ifndef __TESTS_UNIT_TESTS_INTSET_H__ +#define __TESTS_UNIT_TESTS_INTSET_H__ + +#include <glib.h> +#include <glib-object.h> +#include <stdlib.h> +#include <string.h> + +G_BEGIN_DECLS + + +#define TYPE_TEST_VALUES (test_values_get_type ()) + +typedef enum { + TEST_VALUES_A = 1, + TEST_VALUES_B = 2, + TEST_VALUES_C = 3, + TEST_VALUES_D = 10000, + TEST_VALUES_E = 10001 +} TestValues; + + +GType test_values_get_type (void); +void test_intset_new (void); +void test_intset_add (void); +void test_intset_intersect (void); +void test_intset_disjoint (void); +void _main (char** args, int args_length1); + + +G_END_DECLS + +#endif |