%Test whether \a x is solution
| 195 | : Test("Trigonometric::Tan::XY::Sol::"+s,2,d,st,EXTEND_ASSIGNMENT,false) {} |
| 196 | /// %Test whether \a x is solution |
| 197 | virtual MaybeType solution(const Assignment& x) const { |
| 198 | return eq(tan(x[0]), x[1]); |
| 199 | } |
| 200 | /// Extend assignment \a x |
| 201 | virtual bool extendAssignment(Assignment& x) const { |
| 202 | Gecode::FloatVal d = tan(x[0]); |