$25
Exercise 05a. Check the idempotence of openings for a particular case, using the programs implemented in previous exercises:
After the following calls, where 'i' denotes the size (an integer number):
exercise_04a_opening i exercise_04a_input_01.pgm exercise_04a_output_01.pgm ;
exercise_04a_opening i exercise_04a_output_01.pgm exercise_04a_output_02.pgm ;
exercise_02b_compare exercise_04a_output_01.pgm exercise_04a_output_02.pgm exercise_02b_output_01.txt
The 'exercise_02b_output_01.txt' file should contain: '='
Exercise 05b. Idem for closings.
After the following calls, where 'i' denotes the size (an integer number):
exercise_04b_closing i exercise_04b_input_01.pgm exercise_04b_output_01.pgm ;
exercise_04b_closing i exercise_04b_output_01.pgm exercise_04b_output_02.pgm ;
exercise_02b_compare exercise_04b_output_01.pgm exercise_04b_output_02.pgm exercise_02b_output_01.txt
The 'exercise_02b_output_01.txt' file should contain: '='