%Test whether \a x is solution
| 134 | : Test("Trigonometric::Cos::XY::Sol::"+s,2,d,st,EXTEND_ASSIGNMENT,false) {} |
| 135 | /// %Test whether \a x is solution |
| 136 | virtual MaybeType solution(const Assignment& x) const { |
| 137 | return eq(cos(x[0]), x[1]); |
| 138 | } |
| 139 | /// Extend assignment \a x |
| 140 | virtual bool extendAssignment(Assignment& x) const { |
| 141 | Gecode::FloatVal d = cos(x[0]); |