/// Tests for rules shared between various speech styles: /// * this has tests focused on the various alphabets use crate::common::*; #[test] fn silent_intent_mi() { let expr = " 2 x"; test("en", "SimpleSpeak", expr, "2"); test("en", "ClearSpeak", expr, "2"); } #[test] fn silent_intent_msup() { let expr = " H 2 "; test("en", "SimpleSpeak", expr, "cap h 2"); test("en", "ClearSpeak", expr, "cap h 2"); } #[test] fn silent_intent_underscore() { let expr = " H 2 "; test("en", "SimpleSpeak", expr, "cap h 2"); test("en", "ClearSpeak", expr, "cap h 2"); } #[test] fn intent_prob_x() { let expr = " x P "; test("en", "ClearSpeak", expr, "probability of, x"); }