macro_use_std_tests/
macro_use_std_tests.rs

1// Copyright 2017 The UNIC Project Developers.
2//
3// See the COPYRIGHT file at the top-level directory of this distribution.
4//
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.
10
11#[macro_use]
12extern crate unic_char_range;
13
14fn main() {
15    assert!(chars!('\u{0}'..='\u{2}')
16        .iter()
17        .eq(['\u{0}', '\u{1}', '\u{2}'].iter().cloned()));
18}