fixing up step 2-4 exercise

This commit is contained in:
Ken
2019-02-28 14:20:25 -08:00
parent 7c811397ef
commit 8d84b60b2b

View File

@@ -1,14 +1,16 @@
// TODO: import stack here
describe('stack', () => {
it('should push item to the top of the stack', () => {
// implement test here:
// 1. require the stack
// TODO: implement test here:
// 1. instantiate a new Stack - i.e. const stack = new Stack<number>();
// 2. create stack push calls to place some items in the stack
// 3. write assertions via the expect() API
});
it('should pop the item from the top of stack', () => {
// implement test here:
// 1. require the stack
// TODO: implement test here:
// 1. instantiate a new Stack - i.e. const stack = new Stack<number>();
// 2. create stack push calls to place some items in the stack
// 3. pop a few items off the stack
// 4. write assertions via the expect() API