#[cfg(test)] mod tests { #[test] fn basic() { use josa::Josa::{EunNeun, IGa}; use josa::JosaExt; let mut user = "ìœ ì§„".to_owned(); let mut mackerel = "ê³ ë“±ì–´".to_owned(); user.push_josa(EunNeun); mackerel.push_josa(IGa); let sentence = format!("{} {} ë¨¹ê³ ì‹¶ë‹¤", user, mackerel); assert_eq!(sentence, "ìœ ì§„ì€ ê³ ë“±ì–´ê°€ ë¨¹ê³ ì‹¶ë‹¤"); } }