Searched refs:weps (Results 1 – 4 of 4) sorted by relevance
88 auto weps = monster->weapons(); in main() local89 for (unsigned int i = 0; i < weps->size(); i++) { in main()90 assert(weps->Get(i)->name()->str() == expected_weapon_names[i]); in main()91 assert(weps->Get(i)->damage() == expected_weapon_damages[i]); in main()
133 let weps = monster.weapons().unwrap(); in main() localVariable135 let wep2 = weps.get(1); in main()
138 var weps = monster.weapons;139 for (int i = 0; i < weps.length; i++) {140 assert(weps[i].name == expected_weapon_names[i]);141 assert(weps[i].damage == expected_weapon_damages[i]);
2918 let weps = monster.weapons().unwrap();2919 let weps_len = weps.len();2921 let wep2 = weps.get(1);