use crate::common::*; #[test] fn case_1() { // init_logger(); let expr = " f( x )={ 1 if x<0 0 if x=0 1 if x>0 "; test("en", "SimpleSpeak", expr, "f of x is equal to; 3 cases, \ case 1; negative 1 if x; is less than 0; \ case 2; 0 if x, is equal to 0; \ case 3; 1 if x, is greater than 0;"); } #[test] fn equation_1() { // init_logger(); let expr = " x+y = 7 2x+3y = 17 "; test("en", "SimpleSpeak", expr, "2 equations, \ equation 1; x plus y, is equal to, 7; \ equation 2; 2 x plus 3 y, is equal to, 17;"); }