61 unsigned int nbok = 0;
71 K3::SCell s = theKSpace.sPointel( K3::Point(3,3,4) );
74 nbok += (
aPoint == K3::Point(3,3,4) ) ? 1 : 0;
77 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " << std::endl;
83 K3::SCell s = theKSpace.sCell(K3::Point(0,0,0),
true);
84 theKSpace.sSetKCoords( s, K3::Point(5,6,8) );
87 nbok += (
aPoint == K3::Point(3,3,4) ) ? 1 : 0;
90 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " << std::endl;
96 K2::SCell s = theKSpace.sCell( K2::Point(0,1) );
97 K2::Space::RealPoint
aPoint = m( s );
99 nbok += (
aPoint == K2::Space::RealPoint(-0.5,0) ) ? 1 : 0;
102 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " << std::endl;
109 K2::SCell s = theKSpace.sCell( K2::Point(0,1) );
110 std::pair<K2::Point, K2::Vector> aArrow = m( s );
111 trace.
info() << s << aArrow.first << aArrow.second <<std::endl;
114 nbok += ( ((aArrow.first == p) && (aArrow.second == v)) ) ? 1 : 0;
117 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " << std::endl;
124 K2::SCell s = theKSpace.sCell( K2::Point(0,1) );
125 K2::Point
aPoint = m( s );
127 nbok += (
aPoint == K2::Point(0,0) ) ? 1 : 0;
130 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " << std::endl;
137 K2::SCell s = theKSpace.sCell( K2::Point(0,1) );
138 K2::Point
aPoint = m( s );
140 nbok += (
aPoint == K2::Point(-1,0) ) ? 1 : 0;
143 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " << std::endl;
150 K2::SCell s = theKSpace.sCell( K2::Point(0,1) );
151 std::pair<K2::Point, K2::Point> aPair = m( s );
152 trace.
info() << s << aPair.first << aPair.second <<std::endl;
155 nbok += ( ((aPair.first == p1) && (aPair.second == p2)) ) ? 1 : 0;
158 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " << std::endl;
165 K2::SCell s = theKSpace.sCell( K2::Point(0,1) );
168 nbok += ( aCode ==
'3' ) ? 1 : 0;
172 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " << std::endl;
181int main(
int argc,
char** argv )
185 for (
int i = 0; i < argc; ++i )
200 trace.
emphase() << ( res ?
"Passed." :
"Error." ) << endl;