Test handles.
126 CODE( H1->value()=8 );
127 CODE( H1->print(cout) );
128 subsection(
"create handle to base from handle");
130 CODE( H1->basevalue()=9 );
131 CODE( H1->print(cout) );
132 CODE( H2->print(cout) );
133 CODE( H1->value()=-20 );
134 CODE( H2->basevalue()=-5 );
135 CODE( H2->print(cout) );
136 ILLEGAL( H2->value()=18 );
142 CODE( H5->print(cout) );
143 ILLEGAL( H5->basevalue()=-8 );
146 subsection(
"assignement using inheritance transparency");
147 CODE( H4->print(cout) );
149 CODE( H4->print(cout) );
150 CODE( H4->basevalue()=100 );
151 CODE( H3->print(cout) );
153 CODE( H6->print(cout) );
155 CODE( H6->print(cout) );
156 ILLEGAL( H6->basevalue()=64 );
void subsection(const std::string &s)
void testhandlefunction(const pgplot::Handle< Handletestbaseclass >::Tcoc &h)
Test function for inheritance transparency.
void section(const std::string &s)
Base class for testing handles.