1
0

🔨」 fix: added some test on ex02

This commit is contained in:
2025-04-09 16:20:55 +02:00
parent 196a7a33b8
commit 4bd2f14be7

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/12/23 14:01:11 by adjoly #+# #+# */
/* Updated: 2025/04/03 15:49:50 by adjoly ### ########.fr */
/* Updated: 2025/04/09 16:20:39 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -40,14 +40,13 @@ int main(void) {
knl++;
knl++;
knl++;
} catch (const std::exception &e) {
std::cerr << "Error : " << e.what() << std::endl;
} catch (const std::exception &) {
}
ShrubberyCreationForm s;
try {
s.beSigned(knl);
knl.signForm(s);
} catch (std::exception &e) {
knl.executeForm(s);
std::cerr << "Error : " << e.what() << std::endl;