pub static META_CONCEPT_TYPE: &str = "$ConceptType";
pub static META_PROPOSITION_TYPE: &str = "$PropositionType";
pub static META_SELF_NAME: &str = "$self";
pub static META_SYSTEM_NAME: &str = "$system";
pub static DOMAIN_TYPE: &str = "Domain";
pub static EVENT_TYPE: &str = "Event";
pub static PERSON_TYPE: &str = "Person";
pub static SLEEP_TASK_TYPE: &str = "SleepTask";
pub static PREFERENCE_TYPE: &str = "Preference";
pub static BELONGS_TO_DOMAIN_TYPE: &str = "belongs_to_domain";
pub static GENESIS_KIP: &str = include_str!("../capsules/Genesis.kip");
pub static EVENT_KIP: &str = include_str!("../capsules/Event.kip");
pub static PERSON_KIP: &str = include_str!("../capsules/Person.kip");
pub static PREFERENCE_KIP: &str = include_str!("../capsules/Preference.kip");
pub static SLEEP_TASK_KIP: &str = include_str!("../capsules/SleepTask.kip");
pub static PERSON_SELF_KIP: &str = include_str!("../capsules/persons/self.kip");
pub static PERSON_SYSTEM_KIP: &str = include_str!("../capsules/persons/system.kip");
#[cfg(test)]
mod tests {
use super::*;
use crate::parse_kip;
#[test]
fn test_capsule() {
let genesis = parse_kip(GENESIS_KIP).expect("Failed to parse Genesis capsule");
println!("Genesis Capsule: {:#?}", genesis);
let person_type = parse_kip(PERSON_KIP).expect("Failed to parse Person type capsule");
println!("Person Type Capsule: {:#?}", person_type);
let person_self = parse_kip(PERSON_SELF_KIP).expect("Failed to parse Self person capsule");
println!("Self Capsule: {:#?}", person_self);
let person_system =
parse_kip(PERSON_SYSTEM_KIP).expect("Failed to parse System person capsule");
println!("System Capsule: {:#?}", person_system);
}
}