Skip to content

No coverage in tests for stack.pop() or stack.peek() #3

@lantzbuilds

Description

@lantzbuilds

Canvas Link

https://learning.flatironschool.com/courses/8026/assignments/286403?module_item_id=701107

Concern

The way the test for stack.pop() is implemented doesn't actually error when pop() wrong or incomplete.
There is no test for peek()

Additional Context

No response

Suggested Changes

Don't simply iterate the 'expected' list in the pop() test.
Create a peek() test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    se curriculumIssue for lessons in the Software Engineering program

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions