(&self)
| 80 | } |
| 81 | |
| 82 | fn neg_op(&self) -> Result<Box<dyn Value>, String> { |
| 83 | Ok(Box::new(FloatValue { value: -self.value })) |
| 84 | } |
| 85 | |
| 86 | fn eq_op(&self, other: &Box<dyn Value>) -> Result<Box<dyn Value>, String> { |
| 87 | if let Some(other_bool) = other.as_any().downcast_ref::<FloatValue>() { |
no outgoing calls
no test coverage detected