cratification: part III of the math commands to nu-cmd-extra (#9674)

The following math commands are being moved to nu-cmd-extra

* e (euler)
* exp
* ln

This should conclude moving the extra math commands as discussed in
yesterday's
core team meeting...

The remaining math commands will stay in nu-command (for now)....
This commit is contained in:
Michael Angerman
2023-07-13 09:11:26 -07:00
committed by GitHub
parent 9a6a3a731e
commit 3c583c9a20
9 changed files with 17 additions and 14 deletions

View File

@ -15,6 +15,7 @@ mod test_examples {
check_example_input_and_output_types_match_command_signature,
};
use crate::MathEuler;
use crate::MathPi;
use nu_protocol::{
engine::{Command, EngineState, StateWorkingSet},
@ -65,6 +66,7 @@ mod test_examples {
working_set.add_decl(Box::new(nu_command::Enumerate));
working_set.add_decl(Box::new(nu_cmd_lang::If));
// math commands
working_set.add_decl(Box::new(MathEuler));
working_set.add_decl(Box::new(MathPi));
working_set.add_decl(Box::new(nu_command::MathRound));