chromium/third_party/rust/chromium_crates_io/vendor/rstest_reuse-0.5.0/tests/resources/templates_with_same_name.rs

use rstest_reuse;

mod inner1 {
    use rstest::rstest;
    use rstest_reuse::*;

    #[template]
    #[rstest(a,  b, case(2, 2), case(4/2, 2))]
    fn my_template(a: u32, b: u32) {}

    #[apply(my_template)]
    fn it_works(a: u32, b: u32) {
        assert!(a == b);
    }
}

mod inner2 {
    use rstest::rstest;
    use rstest_reuse::*;

    #[template]
    #[rstest(a, case(2), case(4))]
    fn my_template(a: u32) {}

    #[apply(my_template)]
    fn it_works(a: u32) {}
}