/* This file is part of jellything (https://codeberg.org/metamuffin/jellything) which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2026 metamuffin */ use jellyobject::{OBB, Object, fields}; fields! { NAME: str = b"name"; AGE: u32 = b"age1"; FRIEND: str = b"frnd"; } pub(crate) fn new_bob() -> Box { OBB::new() .with(NAME, "Bob") .with(AGE, 35) .with(FRIEND, "Alice") .with(FRIEND, "Charlie") .finish() } pub(crate) fn new_alice() -> Box { OBB::new() .with(NAME, "Alice") .with(AGE, 31) .with(FRIEND, "Bob") .finish() } pub(crate) fn new_charlie() -> Box { OBB::new() .with(NAME, "Charlie") .with(AGE, 31) .with(FRIEND, "Bob") .finish() }