style: using the canonical form

This commit is contained in:
Raphael 2025-02-10 10:59:48 +01:00
parent d59e35466b
commit a909970d76
18 changed files with 201 additions and 37 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/10 15:50:07 by rparodi #+# #+# */
/* Updated: 2025/01/24 18:51:51 by rparodi ### ########.fr */
/* Updated: 2025/02/10 10:52:36 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -15,16 +15,16 @@
#include <iostream>
int main(void) {
std::cout << "[Broadcast]\n\tIn the Red corner the first cat of the 42 school !" << std::endl;
ScavTrap test("Norminet");
test.attack("Moulinette");
test.takeDamage(42);
test.beRepaired(42);
test.guardGate();
test.guardGate();
test.guardGate();
std::cout << "\n\n[Broadcast]\n\tIn the Blue corner the actual cat of the 42 school !" << std::endl;
ClapTrap test2("Moulinette");
test2.beRepaired(32);
std::cout << "[Broadcast]\n\tIn the Blue corner the actual cat of the 42 school !" << std::endl;
ClapTrap test("Moulinette");
test.beRepaired(32);
std::cout << "\n\n[Broadcast]\n\tIn the Red corner the first cat of the 42 school !" << std::endl;
ScavTrap test2("Norminet");
test2.attack("Moulinette");
test2.takeDamage(42);
test2.beRepaired(42);
test2.guardGate();
test2.guardGate();
test2.guardGate();
return (0);
}