1 // Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
12 #![feature(non_ascii_idents)]
19 let लंच = Π * Π + 1.54;
20 assert!(num::abs((लंच - 1.54) - (Π * Π)) < ε);
21 assert_eq!(საჭმელად_გემრიელი_სადილი(), 0);
24 fn საჭმელად_გემრიელი_სადილი() -> int {
26 // Lunch in several languages.
37 let hádegismatur = 10;
41 let อาหารกลางวัน = 10;
43 // Lunchy arithmetic, mm.
45 assert_eq!(hádegismatur * ручек * обед, 1000);
46 assert_eq!(10, ארוחת_צהריי);
47 assert_eq!(ランチ + 午餐 + μεσημεριανό, 30);
48 assert_eq!(ăn_trưa + อาหารกลางวัน, 20);
49 return (абед + լանչ) >> غداء;