openModeller  Version 1.5.0
test_rules_atomic.cpp File Reference
#include <CppUnitLite/TestHarness.h>
#include <rules_atomic.hh>
#include <garp_sampler.hh>
#include <test_rules_defs.hh>
Include dependency graph for test_rules_atomic.cpp:

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 }
 

Detailed Description

Unit tests for rules_atomic.cpp

Author
Ricardo Scachetti Pereira (rpere.nosp@m.ira@.nosp@m.ku.ed.nosp@m.u)
Date
2004-04-07
Id:
test_rules_atomic.cpp 246 2004-07-23 17:46:05Z scachett

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

http://www.nhm.ku.edu

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.

Function Documentation

EXTENDED_DUMMY_RULE ( AtomicRule  )
TEST ( AtomicRule_applies11  ,
AtomicRule   
)

Definition at line 44 of file test_rules_atomic.cpp.

References genes1, and vals11.

TEST ( AtomicRule_applies12  ,
AtomicRule   
)

Definition at line 51 of file test_rules_atomic.cpp.

References genes1, and vals12.

TEST ( AtomicRule_applies13  ,
AtomicRule   
)

Definition at line 58 of file test_rules_atomic.cpp.

References genes1, and vals13.

TEST ( AtomicRule_applies21  ,
AtomicRule   
)

Definition at line 70 of file test_rules_atomic.cpp.

References genes2, and vals21.

TEST ( AtomicRule_applies22  ,
AtomicRule   
)

Definition at line 77 of file test_rules_atomic.cpp.

References genes2, and vals22.

TEST ( AtomicRule_applies23  ,
AtomicRule   
)

Definition at line 84 of file test_rules_atomic.cpp.

References genes2, and vals23.

TEST ( AtomicRule_applies31  ,
AtomicRule   
)

Definition at line 97 of file test_rules_atomic.cpp.

References genes3, and vals31.

TEST ( AtomicRule_applies32  ,
AtomicRule   
)

Definition at line 104 of file test_rules_atomic.cpp.

References genes3, and vals32.

TEST ( AtomicRule_applies33  ,
AtomicRule   
)

Definition at line 111 of file test_rules_atomic.cpp.

References genes3, and vals33.

TEST ( AtomicRule_applies41  ,
AtomicRule   
)

Definition at line 124 of file test_rules_atomic.cpp.

References genes4, and vals41.

TEST ( AtomicRule_applies42  ,
AtomicRule   
)

Definition at line 131 of file test_rules_atomic.cpp.

References genes4, and vals42.

TEST ( AtomicRule_applies43  ,
AtomicRule   
)

Definition at line 138 of file test_rules_atomic.cpp.

References genes4, and vals43.

TEST ( AtomicRule_applies51  ,
AtomicRule   
)

Definition at line 149 of file test_rules_atomic.cpp.

References genes5, and vals51.

Variable Documentation

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().