Changeset 8d1a1ab in git for standalone.test/test.cc
- Timestamp:
- May 19, 2011, 12:45:32 PM (13 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- f9dc52052bd777d9c2a6d569c1b44c86be440625
- Parents:
- 76388e9fedc9db5ec948fd81112b68247b15c170
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-05-19 12:45:32+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:11+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
standalone.test/test.cc
r76388e r8d1a1ab 122 122 } 123 123 124 125 124 126 int main( int, char *argv[] ) 125 127 { … … 129 131 feStringAppendResources(0); 130 132 PrintS(StringAppendS("\n")); 131 132 extern BOOLEAN nlInitChar(coeffs, void*); 133 extern BOOLEAN npInitChar(coeffs, void*); 134 135 133 // longrat 134 extern BOOLEAN nlInitChar(coeffs, void*); // Q 136 135 if( simple(n_Q, nlInitChar) ) 137 136 PrintS("Q: Test Passed!"); … … 140 139 PrintLn(); 141 140 141 // modulop 142 extern BOOLEAN npInitChar(coeffs, void*); // Zp 142 143 if( simple(n_Zp, npInitChar, (void*)7) ) 143 144 PrintS("Zp: Test Passed!"); … … 145 146 PrintS("Zp: Test: Failed!"); 146 147 PrintLn(); 148 149 // due to coeffs/ffields.h 150 extern BOOLEAN nfInitChar(coeffs, void*); // GF 151 struct 152 { 153 int GFChar; 154 int GFDegree; 155 char* GFPar_name; 156 } param; 157 158 param.GFChar= 5; 159 param.GFDegree= 2; 160 param.GFPar_name= (const char*)"Q"; 161 162 if( simple(n_GF, nfInitChar, (void*)¶m) ) 163 PrintS("GF: Test Passed!"); 164 else 165 PrintS("GF: Test: Failed!"); 166 PrintLn(); 167 147 168 }
Note: See TracChangeset
for help on using the changeset viewer.