use super::ContractValidation;
use crate::cli::commands::AnalyzeCommands;
use anyhow::Result;
pub fn map_analyze_command(cmd: &AnalyzeCommands) -> Result<Box<dyn ContractValidation>> {
super::adapter::ContractAdapter::from_cli(cmd)
}
#[cfg(test)]
mod tests {
#[test]
fn test_cli_to_contract_mapping() {
assert!(true); }
}
#[cfg(test)]
mod property_tests {
use proptest::prelude::*;
proptest! {
#[test]
fn basic_property_stability(_input in ".*") {
prop_assert!(true);
}
#[test]
fn module_consistency_check(_x in 0u32..1000) {
prop_assert!(_x < 1001);
}
}
}