/// 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("zh-tw", "SimpleSpeak", expr, "2"); } #[test] fn silent_intent_msup() { let expr = " H 2 "; test("zh-tw", "SimpleSpeak", expr, "大寫 h 2"); } #[test] fn silent_intent_underscore() { let expr = " H 2 "; test("zh-tw", "SimpleSpeak", expr, "大寫 h 2"); } #[test] fn intent_prob_x() { let expr = " x P "; test("zh-tw", "SimpleSpeak", expr, "probability, x"); }