| Total Complexity | 1 |
| Complexity/F | 1 |
| Lines of Code | 6 |
| Function Count | 1 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | const PrefixToInfix = require('./index.js'); |
||
| 2 | // put your tests here |
||
| 3 | test('test PrefixToInfix', () => { |
||
| 4 | expect(PrefixToInfix("*a+bc")).toEqual("a*(b+c)"); |
||
| 5 | expect(PrefixToInfix("*+ab+cd")).toEqual("(a+b)*(c+d)"); |
||
| 6 | }); |