codeformatter Namespace Reference


Classes

class  CodeFormattingTest

Variables

string __authors__ = "Martin Sandve Alnes"
string __date__ = "2008-09-04 -- 2008-09-04"
string test_switch_result
string gen_tokens_result
string functions_result
list tests = [CodeFormattingTest]

Variable Documentation

string codeformatter::__authors__ = "Martin Sandve Alnes"

Definition at line 3 of file newtests/codeformatter.py.

string codeformatter::__date__ = "2008-09-04 -- 2008-09-04"

Definition at line 4 of file newtests/codeformatter.py.

Initial value:

"""inline void c(double a[3], double b[3], double c[3]) const;

inline void c(double a[3], double b[3], double c[3]) const
{
    // Empty body!
}

c(a, b, c);
"""

Definition at line 40 of file newtests/codeformatter.py.

Initial value:

"""{
    double s1;
    double s2;
}
        double s1 = e1;
        double s2 = e2;
    double s1 = e1;
    double s2 = e2;"""

Definition at line 31 of file newtests/codeformatter.py.

Initial value:

"""switch(facet)
{
case 0:
    dofs[0] = 2;
    dofs[1] = 0;
    dofs[2] = 1;
    break;
case 1:
    dofs[0] = 5;
    dofs[1] = 3;
    dofs[2] = 4;
    break;
case 2:
    dofs[0] = 6;
    dofs[1] = 7;
    dofs[2] = 8;
    break;
default:
    throw std::runtime_error("Invalid facet number.");
}"""

Definition at line 10 of file newtests/codeformatter.py.

Definition at line 131 of file newtests/codeformatter.py.


Generated on Mon Aug 31 16:17:05 2009 for SyFi by  doxygen 1.5.9