Additional tests for the Go program - Generated by Roost GPT (from roost.ai) #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
roost@roostai-MacBook-Pro learning-golang % go test -v
=== RUN TestAdd_28d8c9c450
=== RUN TestAdd_28d8c9c450/positive_numbers
Add_28d8c9c450_test.go:13: Success: TestAdd_28d8c9c450 for positive numbers passed.
=== RUN TestAdd_28d8c9c450/negative_numbers
Add_28d8c9c450_test.go:22: Success: TestAdd_28d8c9c450 for negative numbers passed.
=== RUN TestAdd_28d8c9c450/zero
Add_28d8c9c450_test.go:31: Success: TestAdd_28d8c9c450 for zero passed.
=== RUN TestAdd_28d8c9c450/positive_and_negative
Add_28d8c9c450_test.go:40: Success: TestAdd_28d8c9c450 for positive and negative passed.
--- PASS: TestAdd_28d8c9c450 (0.00s)
--- PASS: TestAdd_28d8c9c450/positive_numbers (0.00s)
--- PASS: TestAdd_28d8c9c450/negative_numbers (0.00s)
--- PASS: TestAdd_28d8c9c450/zero (0.00s)
--- PASS: TestAdd_28d8c9c450/positive_and_negative (0.00s)
=== RUN TestAdd
test add ✔
1 total assertion
--- PASS: TestAdd (0.00s)
PASS
ok learning-golang 0.331s