This commit is contained in:
Paul Gauthier 2023-05-21 16:23:54 -07:00
parent d93018111b
commit 3e7ce3b0fc
2 changed files with 2 additions and 2 deletions

View file

@ -129,7 +129,7 @@ Using only the meta-data in the map, GPT is able to:
- Determine that it is a method of the `Command` class, so the test case will need to instantiate an instance to conduct the test.
- Identify that creating a `Command` instance requires passing in `InputOutput` and `Coder` instances.
- Figure out the arguments required to instantiate the `InputOuput` instance.
- The `Coder` class looks complex enough that it decides to use a `MagickMock`
- Decide that the `Coder` class looks complex enough to use a `MagickMock`.
## Try it out

View file

@ -15,7 +15,7 @@ Using only the meta-data in the map, GPT is able to:
- Determine that it is a method of the `Command` class, so the test case will need to instantiate an instance to conduct the test.
- Identify that creating a `Command` instance requires passing in `InputOutput` and `Coder` instances.
- Figure out the arguments required to instantiate the `InputOuput` instance.
- The `Coder` class looks complex enough that it decides to use a `MagickMock`
- Decide that the `Coder` class looks complex enough to use a `MagickMock`.
The signature of `cmd_add()` doesn't have types, so GPT makes a
reasonable but incorrect guess that it wants a `list` of files. The