use quark_ecs::World; #[test] fn create_entity() { let mut world = World::new(); let e1 = world.spawn((10,10.,String::from("ten"))); let e2 = world.spawn((Health(100),Name(String::from("Bob")))); } #[test] fn add_components_to_entity() { let mut world = World::new(); let e1 = world.spawn((10,10.,String::from("ten"))); let e2 = world.spawn((Health(100),Name(String::from("Bob")))); } struct Health(u32); struct Name(String);