openModeller
Version 1.5.0
|
Go to the source code of this file.
Classes | |
class | DummyRule |
Functions | |
void | testHelperAddRules (GarpRuleSet *ruleset, int from, int to) |
TEST (testHelperAddRules, Global) | |
TEST (GarpRuleSet_Constructor, GarpRuleSet) | |
TEST (GarpRuleSet_add, Garp) | |
TEST (GarpRuleSet_trim, GarpRuleSet) | |
TEST (GarpRuleSet_clear, GarpRuleSet) | |
TEST (GarpRuleSet_filter, GarpRuleSet) | |
TEST (GarpRuleSet_replace, GarpRuleSet) | |
TEST (GarpRuleSet_performanceSummary, GarpRuleSet) | |
Unit tests for ruleset.cpp
LICENSE INFORMATION
Copyright(c), The Center for Research, University of Kansas, 2385 Irving Hill Road, Lawrence, KS 66044-4755, USA. Copyright(c), CRIA - Centro de Referencia em Informacao Ambiental
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 2 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:
http://www.gnu.org/copyleft/gpl.html
Definition in file test_ruleset.cpp.
TEST | ( | testHelperAddRules | , |
Global | |||
) |
Definition at line 99 of file test_ruleset.cpp.
References GarpRuleSet::get(), GarpRuleSet::numRules(), and testHelperAddRules().
TEST | ( | GarpRuleSet_Constructor | , |
GarpRuleSet | |||
) |
Definition at line 112 of file test_ruleset.cpp.
References GarpRuleSet::numRules(), and GarpRuleSet::size().
TEST | ( | GarpRuleSet_add | , |
Garp | |||
) |
Definition at line 120 of file test_ruleset.cpp.
References GarpRuleSet::add(), and GarpRuleSet::get().
TEST | ( | GarpRuleSet_trim | , |
GarpRuleSet | |||
) |
Definition at line 145 of file test_ruleset.cpp.
References GarpRuleSet::get(), GarpRuleSet::numRules(), testHelperAddRules(), and GarpRuleSet::trim().
TEST | ( | GarpRuleSet_clear | , |
GarpRuleSet | |||
) |
Definition at line 168 of file test_ruleset.cpp.
References GarpRuleSet::clear(), GarpRuleSet::get(), GarpRuleSet::numRules(), and testHelperAddRules().
TEST | ( | GarpRuleSet_filter | , |
GarpRuleSet | |||
) |
Definition at line 190 of file test_ruleset.cpp.
References GarpRuleSet::filter(), GarpRuleSet::get(), GarpRuleSet::numRules(), PerfSig, DummyRule::setPerformance(), and testHelperAddRules().
TEST | ( | GarpRuleSet_replace | , |
GarpRuleSet | |||
) |
Definition at line 224 of file test_ruleset.cpp.
References GarpRuleSet::get(), GarpRuleSet::replace(), and testHelperAddRules().
TEST | ( | GarpRuleSet_performanceSummary | , |
GarpRuleSet | |||
) |
Definition at line 250 of file test_ruleset.cpp.
References GarpRuleSet::get(), GarpRuleSet::performanceSummary(), PerfSig, DummyRule::setPerformance(), and testHelperAddRules().
void testHelperAddRules | ( | GarpRuleSet * | ruleset, |
int | from, | ||
int | to | ||
) |
Definition at line 86 of file test_ruleset.cpp.
References GarpRuleSet::add().
Referenced by TEST().