use crate::common::*; #[test] fn sum_both() { let expr = " n=1 10 n "; test("en", "ClearSpeak", expr, "the sum from n is equal to 1 to 10 of n"); } #[test] fn sum_under() { let expr = " S i "; test("en", "ClearSpeak", expr, "the sum over cap s of i"); } #[test] fn sum_both_msubsup() { let expr = " n=1 10 n "; test("en", "ClearSpeak", expr, "the sum from n is equal to 1 to 10 of n"); } #[test] fn sum_sub() { let expr = " S i "; test("en", "ClearSpeak", expr, "the sum over cap s of i"); } #[test] fn sum() { let expr = " ai "; test("en", "ClearSpeak", expr, "the sum of eigh sub i"); } #[test] fn product_both() { let expr = " n=1 10 n "; test("en", "ClearSpeak", expr, "the product from n is equal to 1 to 10 of n"); } #[test] fn product_under() { let expr = " S i "; test("en", "ClearSpeak", expr, "the product over cap s of i"); } #[test] fn product() { let expr = " ai "; test("en", "ClearSpeak", expr, "the product of eigh sub i"); } #[test] fn intersection_both() { let expr = " i=1 10 Si "; test("en", "ClearSpeak", expr, "the intersection from i is equal to 1 to 10 of; cap s sub i"); } #[test] fn intersection_under() { let expr = " C Si "; test("en", "ClearSpeak", expr, "the intersection over cap c of, cap s sub i"); } #[test] fn intersection() { let expr = " Si "; test("en", "ClearSpeak", expr, "the intersection of cap s sub i"); } #[test] fn union_both() { let expr = " i=1 10 Si "; test("en", "ClearSpeak", expr, "the union from i is equal to 1 to 10 of; cap s sub i"); } #[test] fn union_under() { let expr = " C Si "; test("en", "ClearSpeak", expr, "the union over cap c of, cap s sub i"); } #[test] fn union() { let expr = " Si "; test("en", "ClearSpeak", expr, "the union of cap s sub i"); } #[test] fn integral_both() { let expr = " 0 1 f(x ) dx "; test("en", "ClearSpeak", expr, "the integral from 0 to 1 of, f of x; d x"); } #[test] fn integral_under() { let expr = " f(x ) dx "; test("en", "ClearSpeak", expr, "the integral over the real numbers of; f of x d x"); } #[test] fn integral() { let expr = " f(x ) dx "; test("en", "ClearSpeak", expr, "the integral of f of x d x"); }