cleanup
This commit is contained in:
parent
0cce3773eb
commit
96d9d3b170
@ -446,7 +446,6 @@ impl MathApp {
|
|||||||
max_x_changed | min_x_changed | integral_num_changed | riemann_changed;
|
max_x_changed | min_x_changed | integral_num_changed | riemann_changed;
|
||||||
|
|
||||||
// Stores whether global config options changed
|
// Stores whether global config options changed
|
||||||
// TODO: only take into account integral settings if integral is enabled (maybe)
|
|
||||||
let configs_changed = max_x_changed
|
let configs_changed = max_x_changed
|
||||||
| min_x_changed | integral_num_changed
|
| min_x_changed | integral_num_changed
|
||||||
| roots_toggled | extrema_toggled
|
| roots_toggled | extrema_toggled
|
||||||
|
|||||||
@ -264,6 +264,7 @@ mod tests {
|
|||||||
test_func_helper(func_str, false);
|
test_func_helper(func_str, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Helps with tests of [`process_func_str`]
|
/// Helps with tests of [`process_func_str`]
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
fn test_process_helper(input: &str, expected: &str) {
|
fn test_process_helper(input: &str, expected: &str) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user