openModeller  Version 1.4.0
test_rules_logit.cpp File Reference
#include <TestHarness.h>
#include <rules_logit.hh>
#include <test_rules_defs.hh>
Include dependency graph for test_rules_logit.cpp:

Go to the source code of this file.

Typedefs

typedef ExtendedDummyRule
< LogitRule
ExtLogitRule

Functions

 TEST (LogitRule_similar1, LogitRule)
 TEST (LogitRule_similar1b, LogitRule)
 TEST (LogitRule_similar2, LogitRule)
 TEST (LogitRule_similar3, LogitRule)
 TEST (LogitRule_similar4, LogitRule)
 TEST (LogitRule_similar5, LogitRule)
 TEST (LogitRule_similar6, LogitRule)
 TEST (LogitRule_similar7, LogitRule)
 TEST (LogitRule_applies1, LogitRule)
 TEST (LogitRule_applies2, LogitRule)
 TEST (LogitRule_applies3, LogitRule)

Variables

Scalar genes1 [8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}
Scalar genes2 [8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}
Scalar genes3 [8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}
Scalar genes4 [8] = {-0.8, -0.4, -0.3, +0.8, +0.7, +0.8, -0.8, +0.8}
Scalar genes5 [8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}
Scalar genes6 [8] = {-0.8, -0.4, -0.3, +0.8, +0.7, -0.4, +0.3, +0.8}
Scalar genes7 [8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}
Scalar genes8 [8] = {+0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8}
Scalar genes9 [8] = {+0.02, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8}
Scalar genes10 [8] = {-0.04, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8}
Scalar genes11 [8] = {-0.01, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}
Scalar genes12 [8] = {-0.50, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}
Scalar genes13 [8] = {-0.01, +0.02, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}
Scalar genes14 [8] = {-0.50, +0.80, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}
Scalar genes100 [8] = {-1.0, +0.8, -1.0, +0.8, -1.0, +0.8, -1.0, +0.8}
Scalar vals91 [8] = {+0.8, +0.8, +0.8, +0.8 }
Scalar vals92 [8] = {+0.8, +0.8, +0.8, +0.8 }
Scalar vals93 [8] = {+0.8, +0.8, +0.8, +0.8 }

Detailed Description

Unit tests for rules_logit.cpp

Author:
Ricardo Scachetti Pereira (rpereira@ku.edu)
Date:
2004-07-25
Id:
test_rules_logit.cpp 1026 2005-06-23 20:28:29Z kruland

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_logit.cpp.


Typedef Documentation

Definition at line 35 of file test_rules_logit.cpp.


Function Documentation

TEST ( LogitRule_similar1  ,
LogitRule   
)

Definition at line 41 of file test_rules_logit.cpp.

References genes1, genes2, and ExtendedDummyRule< T >::setGenes().

Here is the call graph for this function:

TEST ( LogitRule_similar1b  ,
LogitRule   
)

Definition at line 54 of file test_rules_logit.cpp.

References genes1, genes2, and ExtendedDummyRule< T >::setGenes().

Here is the call graph for this function:

TEST ( LogitRule_similar2  ,
LogitRule   
)

Definition at line 70 of file test_rules_logit.cpp.

References genes3, genes4, and ExtendedDummyRule< T >::setGenes().

Here is the call graph for this function:

TEST ( LogitRule_similar3  ,
LogitRule   
)

Definition at line 86 of file test_rules_logit.cpp.

References genes5, genes6, and ExtendedDummyRule< T >::setGenes().

Here is the call graph for this function:

TEST ( LogitRule_similar4  ,
LogitRule   
)

Definition at line 102 of file test_rules_logit.cpp.

References genes7, genes8, and ExtendedDummyRule< T >::setGenes().

Here is the call graph for this function:

TEST ( LogitRule_similar5  ,
LogitRule   
)

Definition at line 118 of file test_rules_logit.cpp.

References genes10, genes9, and ExtendedDummyRule< T >::setGenes().

Here is the call graph for this function:

TEST ( LogitRule_similar6  ,
LogitRule   
)

Definition at line 134 of file test_rules_logit.cpp.

References genes11, genes12, and ExtendedDummyRule< T >::setGenes().

Here is the call graph for this function:

TEST ( LogitRule_similar7  ,
LogitRule   
)

Definition at line 150 of file test_rules_logit.cpp.

References genes13, genes14, and ExtendedDummyRule< T >::setGenes().

Here is the call graph for this function:

TEST ( LogitRule_applies1  ,
LogitRule   
)

Definition at line 170 of file test_rules_logit.cpp.

References genes100, ExtendedDummyRule< T >::setGenes(), and vals91.

Here is the call graph for this function:

TEST ( LogitRule_applies2  ,
LogitRule   
)

Definition at line 179 of file test_rules_logit.cpp.

References genes100, ExtendedDummyRule< T >::setGenes(), and vals92.

Here is the call graph for this function:

TEST ( LogitRule_applies3  ,
LogitRule   
)

Definition at line 188 of file test_rules_logit.cpp.

References genes100, ExtendedDummyRule< T >::setGenes(), and vals93.

Here is the call graph for this function:


Variable Documentation

Scalar genes1[8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}

Definition at line 37 of file test_rules_logit.cpp.

Scalar genes10[8] = {-0.04, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8}

Definition at line 116 of file test_rules_logit.cpp.

Referenced by TEST().

Scalar genes100[8] = {-1.0, +0.8, -1.0, +0.8, -1.0, +0.8, -1.0, +0.8}

Definition at line 165 of file test_rules_logit.cpp.

Referenced by TEST().

Scalar genes11[8] = {-0.01, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}

Definition at line 131 of file test_rules_logit.cpp.

Referenced by TEST().

Scalar genes12[8] = {-0.50, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}

Definition at line 132 of file test_rules_logit.cpp.

Referenced by TEST().

Scalar genes13[8] = {-0.01, +0.02, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}

Definition at line 147 of file test_rules_logit.cpp.

Referenced by TEST().

Scalar genes14[8] = {-0.50, +0.80, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}

Definition at line 148 of file test_rules_logit.cpp.

Referenced by TEST().

Scalar genes2[8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}

Definition at line 38 of file test_rules_logit.cpp.

Scalar genes3[8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}

Definition at line 67 of file test_rules_logit.cpp.

Scalar genes4[8] = {-0.8, -0.4, -0.3, +0.8, +0.7, +0.8, -0.8, +0.8}

Definition at line 68 of file test_rules_logit.cpp.

Scalar genes5[8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}

Definition at line 83 of file test_rules_logit.cpp.

Scalar genes6[8] = {-0.8, -0.4, -0.3, +0.8, +0.7, -0.4, +0.3, +0.8}

Definition at line 84 of file test_rules_logit.cpp.

Scalar genes7[8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8}

Definition at line 99 of file test_rules_logit.cpp.

Scalar genes8[8] = {+0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8}

Definition at line 100 of file test_rules_logit.cpp.

Scalar genes9[8] = {+0.02, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8}

Definition at line 115 of file test_rules_logit.cpp.

Referenced by TEST().

Scalar vals91[8] = {+0.8, +0.8, +0.8, +0.8 }

Definition at line 166 of file test_rules_logit.cpp.

Referenced by TEST().

Scalar vals92[8] = {+0.8, +0.8, +0.8, +0.8 }

Definition at line 167 of file test_rules_logit.cpp.

Referenced by TEST().

Scalar vals93[8] = {+0.8, +0.8, +0.8, +0.8 }

Definition at line 168 of file test_rules_logit.cpp.

Referenced by TEST().