Feature: adding matériel to Billy.
No conformity is done when adding things (dagger or bow for example)
This commit is contained in:
		
					parent
					
						
							
								6ad47b12bf
							
						
					
				
			
			
				commit
				
					
						75f8db9f5a
					
				
			
		
					 6 changed files with 124 additions and 37 deletions
				
			
		| 
						 | 
				
			
			@ -148,21 +148,7 @@ TEST_CASE("[D] Pushing popping BillyObjects", "[pushpop][0]") {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
TEST_CASE("[D] Printing Billy's objects", "[printing]") {
 | 
			
		||||
    constexpr std::array<BillyObjects::billyObject, 12> all_objects{
 | 
			
		||||
            weapons::Sword,
 | 
			
		||||
            weapons::Lance,
 | 
			
		||||
            weapons::Morgenstern,
 | 
			
		||||
            weapons::Bow,
 | 
			
		||||
            equipments::Chainmail,
 | 
			
		||||
            equipments::CookingPot,
 | 
			
		||||
            equipments::PamphletTourist,
 | 
			
		||||
            equipments::MedicKit,
 | 
			
		||||
            tools::Fourche,
 | 
			
		||||
            tools::Dagger,
 | 
			
		||||
            tools::RockClimbingKit,
 | 
			
		||||
            tools::SackOfGrain,
 | 
			
		||||
    };
 | 
			
		||||
    for (const auto &object: all_objects) {
 | 
			
		||||
    for (const auto &object: BillyObjects::all_objects) {
 | 
			
		||||
        REQUIRE_NOTHROW(BillyObjects::billy_object_to_string(object));
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue