Parameter
Make a parameter
Given a file named “main.scm” with:
When I successfully run scheme main.scm
Then the stdout should contain exactly “A”.
Parameterize a procedure
Given a file named “main.scm” with:
When I successfully run scheme main.scm
Then the stdout should contain exactly “ABA”.
Parameterize nested procedures
Given a file named “main.scm” with:
When I successfully run scheme main.scm
Then the stdout should contain exactly “ABCBA”.
Use multiple parameters
Given a file named “main.scm” with:
When I successfully run scheme main.scm
Then the stdout should contain exactly “ABCDAB”.