(refs: Vec<Address>)
| 111 | mod tests { |
| 112 | use super::*; |
| 113 | use ix_common::env::DefinitionSafety; |
| 114 | use ixon::constant::{Axiom, Constant, ConstantInfo, DefKind, Definition}; |
| 115 | use ixon::expr::Expr; |
| 116 | use ixon::merkle::leaf_hash; |
| 117 | use std::sync::Arc; |
| 118 | |
| 119 | fn axiom_const(refs: Vec<Address>) -> Constant { |
| 120 | Constant::with_tables( |
| 121 | ConstantInfo::Axio(Axiom { |
| 122 | is_unsafe: false, |
| 123 | lvls: 0, |
| 124 | typ: Arc::new(Expr::Sort(0)), |
| 125 | }), |
| 126 | Vec::new(), |
| 127 | refs, |
| 128 | Vec::new(), |
| 129 | ) |