Remove solveRPN

This commit is contained in:
Angelos Chalaris
2020-04-16 11:13:22 +03:00
parent 7380db04b3
commit 5de07a4337
2 changed files with 0 additions and 59 deletions

View File

@ -1,11 +0,0 @@
const {solveRPN} = require('./_30s.js');
test('solveRPN is a Function', () => {
expect(solveRPN).toBeInstanceOf(Function);
});
test('solveRPN returns the correct result', () => {
expect(solveRPN('15 7 1 1 + - / 3 * 2 1 1 + + -')).toBe(5);
});
test('solveRPN returns the correct result', () => {
expect(solveRPN('2 3 ^')).toBe(8);
});