'use strict';

import expect from 'chai'
import twoSum from 'twosum'

describe('*1. Two Sum*', function () {
    let test = (input, target, expVal) => {
        it(`${input}, target = ${target}`, function () {
            expect(twoSum(input)).to.be.eq(expVal)
        })
    };


});
@@ -110,19 +110,21 @@
     
-let
+function
  test
- = 
 (inp
@@ -146,11 +146,8 @@
 Val)
- =%3E
  %7B%0A 
@@ -269,15 +269,232 @@
 %7D)%0A    %7D
-;
 %0A%0A
+    describe('%5BTwo Sum Tests%5D', function () %7B%0A        test(%5B2, 7, 11, 15%5D, 9, %5B0, 1%5D);%0A        test(%5B3, 7, 11, 15, 6, 2, 9%5D, 8, %5B4, 5%5D);%0A        test(%5B3, 2, 4%5D, 6, %5B1, 2%5D);%0A        test(%5B0, 4, 3, 0%5D, 0, %5B0, 3%5D);%0A    %7D)
 %0A%7D);

test cases for two sum