()
| 117 | #[test] |
| 118 | #[allow(non_snake_case)] |
| 119 | fn test_AD2_constructor() { |
| 120 | let j = AD2(5.0, 3.0, 4.0); |
| 121 | assert_close(j.value(), 5.0); |
| 122 | assert_close(j.dx(), 3.0); |
| 123 | assert_close(j.ddx(), 4.0); |
| 124 | } |
| 125 | |
| 126 | #[test] |
| 127 | fn test_derivative_accessor() { |
nothing calls this directly
no test coverage detected