()
| 15 | /// good_def basicDef : Type := Prop |
| 16 | #[test] |
| 17 | fn good_basic_def() { |
| 18 | let mut env = KEnv::<Meta>::new(); |
| 19 | let (id, c) = mk_defn( |
| 20 | "basicDef", |
| 21 | 0, |
| 22 | vec![], |
| 23 | sort1(), |
| 24 | sort0(), |
| 25 | ReducibilityHints::Abbrev, |
| 26 | ); |
| 27 | env.insert(id.clone(), c); |
| 28 | check_accepts(&mut env, &id); |
| 29 | } |
| 30 | |
| 31 | /// bad_def badDef : Prop := Type |
| 32 | /// Value `Type` has type `Type 1`, not `Prop`. |