2019-07-26 16:54:25 -05:00
|
|
|
// run-pass
|
|
|
|
|
2014-12-02 18:48:48 -06:00
|
|
|
pub fn main() {
|
|
|
|
let s = "\u{2603}";
|
|
|
|
assert_eq!(s, "☃");
|
|
|
|
|
|
|
|
let s = "\u{2a10}\u{2A01}\u{2Aa0}";
|
|
|
|
assert_eq!(s, "⨐⨁⪠");
|
|
|
|
|
|
|
|
let s = "\\{20}";
|
2015-06-08 09:55:35 -05:00
|
|
|
let mut correct_s = String::from("\\");
|
2014-12-02 18:48:48 -06:00
|
|
|
correct_s.push_str("{20}");
|
2015-02-01 20:53:25 -06:00
|
|
|
assert_eq!(s, correct_s);
|
2014-12-02 18:48:48 -06:00
|
|
|
}
|