MCPcopy
hub / github.com/trekhleb/javascript-algorithms / Stack.test.js

File Stack.test.js

src/data-structures/stack/__test__/Stack.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import Stack from '../Stack';
2
3describe('Stack', () => {
4 it('should create empty stack', () => {

Callers

nothing calls this directly

Calls 6

pushMethod · 0.80
popMethod · 0.80
toStringMethod · 0.45
peekMethod · 0.45
isEmptyMethod · 0.45
toArrayMethod · 0.45

Tested by

no test coverage detected