Skip to content

Natalie-Perez/StackTDD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

StackTDD

Stack class implementation using Test Driven Development

Requirements:

  1. Limit the size of the stack.
  2. Add element. (push)
  3. Remove element. (pop)
  4. Check what was the last element. (peek)
  5. Get the current size of the stack.
  6. Have a class that can accept any data type.
  7. When the customer exceeds the size of the Stack, we need to throw an appropriate exception.

Releases

No releases published

Packages

No packages published

Languages