(req Request)
| 82 | } |
| 83 | |
| 84 | func UpdateMathMin(req Request) (string, map[string]string, error) { |
| 85 | val, err := mathMin(req) |
| 86 | if err != nil { |
| 87 | return "invalid", nil, err |
| 88 | } |
| 89 | |
| 90 | return req.PhysicalResourceId, map[string]string{ |
| 91 | "Value": val, |
| 92 | }, nil |
| 93 | } |
| 94 | |
| 95 | func mathMax(req Request) (string, error) { |
| 96 | x, y, err := parseXY(req) |
no test coverage detected