Passed
Push — master ( 06adb3...07a6a5 )
by Nguyen
41s queued 15s
created

topics/stack/infix-to-postfix/test.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 6
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
mnd 0
bc 0
fnc 1
dl 0
loc 6
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
rs 10
1
const infixToPostFix = require('./index.js');
2
// put your tests here
3
test('test infixToPostFix', () => {
4
    expect(infixToPostFix("a+b*c+d")).toEqual("abc*+d+");
5
	expect(infixToPostFix("a*(b+c)+d")).toEqual("abc+*d+");
6
});
7
8