/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: hadi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2026/02/16 22:32:41 by hadi #+# #+# */ /* Updated: 2026/02/17 17:49:09 by hadi ### ########.fr */ /* */ /* ************************************************************************** */ #include "Bureaucrat/Bureaucrat.hpp" #include "ShrubberyCreationForm/ShrubberyCreationForm.hpp" int main() { std::cout << "---- ex01 tests ----" << std::endl; ShrubberyCreationForm form("home"); try { Bureaucrat angel("Angel", 137); angel.executeForm(form); angel.signForm(form); angel.executeForm(form); } catch (std::exception &e) { std::cout << e.what() << std::endl; } std::cout << std::endl; return (0); }