openModeller
Version 1.5.0
|
#include <CppUnitLite/TestHarness.h>
#include <rules_atomic.hh>
#include <garp_sampler.hh>
#include <test_rules_defs.hh>
Go to the source code of this file.
Functions | |
EXTENDED_DUMMY_RULE (AtomicRule) | |
TEST (AtomicRule_applies11, AtomicRule) | |
TEST (AtomicRule_applies12, AtomicRule) | |
TEST (AtomicRule_applies13, AtomicRule) | |
TEST (AtomicRule_applies21, AtomicRule) | |
TEST (AtomicRule_applies22, AtomicRule) | |
TEST (AtomicRule_applies23, AtomicRule) | |
TEST (AtomicRule_applies31, AtomicRule) | |
TEST (AtomicRule_applies32, AtomicRule) | |
TEST (AtomicRule_applies33, AtomicRule) | |
TEST (AtomicRule_applies41, AtomicRule) | |
TEST (AtomicRule_applies42, AtomicRule) | |
TEST (AtomicRule_applies43, AtomicRule) | |
TEST (AtomicRule_applies51, AtomicRule) | |
Variables | |
Scalar | genes1 [8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8} |
Scalar | vals11 [8] = {-0.5, -0.5, -0.5, -0.5 } |
Scalar | vals12 [8] = {-0.0, -0.0, -0.0, -0.0 } |
Scalar | vals13 [8] = {-0.8, -0.8, -0.8, -0.8 } |
Scalar | genes2 [8] = {-1.0, +1.0, -1.0, +1.0, -1.0, +1.0, -1.0, +1.0} |
Scalar | vals21 [8] = {-0.5, -0.5, -0.5, -0.5 } |
Scalar | vals22 [8] = {-0.0, -0.0, -0.0, -0.0 } |
Scalar | vals23 [8] = {-2.9, -1.0, -1.0, -1.0 } |
Scalar | genes3 [8] = {-1.0, +1.0, -0.1, +0.1, -1.0, +1.0, -1.0, +1.0} |
Scalar | vals31 [8] = {-0.5, -0.5, -0.5, -0.5 } |
Scalar | vals32 [8] = {-0.0, -0.0, -0.0, -0.0 } |
Scalar | vals33 [8] = {-2.9, -0.1, -1.0, -1.0 } |
Scalar | genes4 [8] = {-0.8, +0.8, -1.0, +1.0, -0.8, +0.0, -0.0, +1.0} |
Scalar | vals41 [8] = {-0.8, -0.5, -0.8, -0.5 } |
Scalar | vals42 [8] = {-0.8, -0.0, -0.8, -0.0 } |
Scalar | vals43 [8] = {-0.8, -9.0, -0.8, -0.0 } |
Scalar | genes5 [8] = {-0.5, -0.5, -0.5, -0.5} |
Scalar | vals51 [8] = {-0.5, -0.5 } |
Unit tests for rules_atomic.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_rules_atomic.cpp.
EXTENDED_DUMMY_RULE | ( | AtomicRule | ) |
TEST | ( | AtomicRule_applies11 | , |
AtomicRule | |||
) |
Definition at line 44 of file test_rules_atomic.cpp.
TEST | ( | AtomicRule_applies12 | , |
AtomicRule | |||
) |
Definition at line 51 of file test_rules_atomic.cpp.
TEST | ( | AtomicRule_applies13 | , |
AtomicRule | |||
) |
Definition at line 58 of file test_rules_atomic.cpp.
TEST | ( | AtomicRule_applies21 | , |
AtomicRule | |||
) |
Definition at line 70 of file test_rules_atomic.cpp.
TEST | ( | AtomicRule_applies22 | , |
AtomicRule | |||
) |
Definition at line 77 of file test_rules_atomic.cpp.
TEST | ( | AtomicRule_applies23 | , |
AtomicRule | |||
) |
Definition at line 84 of file test_rules_atomic.cpp.
TEST | ( | AtomicRule_applies31 | , |
AtomicRule | |||
) |
Definition at line 97 of file test_rules_atomic.cpp.
TEST | ( | AtomicRule_applies32 | , |
AtomicRule | |||
) |
Definition at line 104 of file test_rules_atomic.cpp.
TEST | ( | AtomicRule_applies33 | , |
AtomicRule | |||
) |
Definition at line 111 of file test_rules_atomic.cpp.
TEST | ( | AtomicRule_applies41 | , |
AtomicRule | |||
) |
Definition at line 124 of file test_rules_atomic.cpp.
TEST | ( | AtomicRule_applies42 | , |
AtomicRule | |||
) |
Definition at line 131 of file test_rules_atomic.cpp.
TEST | ( | AtomicRule_applies43 | , |
AtomicRule | |||
) |
Definition at line 138 of file test_rules_atomic.cpp.
TEST | ( | AtomicRule_applies51 | , |
AtomicRule | |||
) |
Definition at line 149 of file test_rules_atomic.cpp.
Scalar genes1[8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8} |
Definition at line 39 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar genes2[8] = {-1.0, +1.0, -1.0, +1.0, -1.0, +1.0, -1.0, +1.0} |
Definition at line 65 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar genes3[8] = {-1.0, +1.0, -0.1, +0.1, -1.0, +1.0, -1.0, +1.0} |
Definition at line 92 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar genes4[8] = {-0.8, +0.8, -1.0, +1.0, -0.8, +0.0, -0.0, +1.0} |
Definition at line 119 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar genes5[8] = {-0.5, -0.5, -0.5, -0.5} |
Definition at line 146 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar vals11[8] = {-0.5, -0.5, -0.5, -0.5 } |
Definition at line 40 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar vals12[8] = {-0.0, -0.0, -0.0, -0.0 } |
Definition at line 41 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar vals13[8] = {-0.8, -0.8, -0.8, -0.8 } |
Definition at line 42 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar vals21[8] = {-0.5, -0.5, -0.5, -0.5 } |
Definition at line 66 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar vals22[8] = {-0.0, -0.0, -0.0, -0.0 } |
Definition at line 67 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar vals23[8] = {-2.9, -1.0, -1.0, -1.0 } |
Definition at line 68 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar vals31[8] = {-0.5, -0.5, -0.5, -0.5 } |
Definition at line 93 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar vals32[8] = {-0.0, -0.0, -0.0, -0.0 } |
Definition at line 94 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar vals33[8] = {-2.9, -0.1, -1.0, -1.0 } |
Definition at line 95 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar vals41[8] = {-0.8, -0.5, -0.8, -0.5 } |
Definition at line 120 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar vals42[8] = {-0.8, -0.0, -0.8, -0.0 } |
Definition at line 121 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar vals43[8] = {-0.8, -9.0, -0.8, -0.0 } |
Definition at line 122 of file test_rules_atomic.cpp.
Referenced by TEST().
Scalar vals51[8] = {-0.5, -0.5 } |
Definition at line 147 of file test_rules_atomic.cpp.
Referenced by TEST().