SyFi
0.3
|
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] |
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.
00001 """inline void c(double a[3], double b[3], double c[3]) const; 00002 00003 inline void c(double a[3], double b[3], double c[3]) const 00004 { 00005 // Empty body! 00006 } 00007 00008 c(a, b, c); 00009 """
Definition at line 40 of file newtests/codeformatter.py.
00001 """{ 00002 double s1; 00003 double s2; 00004 } 00005 double s1 = e1; 00006 double s2 = e2; 00007 double s1 = e1; 00008 double s2 = e2;"""
Definition at line 31 of file newtests/codeformatter.py.
00001 """switch(facet) 00002 { 00003 case 0: 00004 dofs[0] = 2; 00005 dofs[1] = 0; 00006 dofs[2] = 1; 00007 break; 00008 case 1: 00009 dofs[0] = 5; 00010 dofs[1] = 3; 00011 dofs[2] = 4; 00012 break; 00013 case 2: 00014 dofs[0] = 6; 00015 dofs[1] = 7; 00016 dofs[2] = 8; 00017 break; 00018 default: 00019 throw std::runtime_error("Invalid facet number."); 00020 }"""
Definition at line 10 of file newtests/codeformatter.py.
list codeformatter::tests = [CodeFormattingTest] |
Definition at line 131 of file newtests/codeformatter.py.