public void TestWithoutBrackets() { Assert.AreEqual(true, StackUsing.CheckBKT("alksdlasdl")); }
public void TestEmptyString() { Assert.AreEqual(true, StackUsing.CheckBKT("")); }
public void TestFailWrongBrackets() { Assert.AreEqual(false, StackUsing.CheckBKT("))()")); }
public void TestStackWordsInsideManyBrackets() { Assert.AreEqual(true, StackUsing.CheckBKT("{array[5] arr = new array(10)}")); }
public void TestStackUseWordInsideBrackets() { Assert.AreEqual(true, StackUsing.CheckBKT("(да-да, я )")); }
public void TestStackUseManyBrackets() { // expected | what needs test Assert.AreEqual(true, StackUsing.CheckBKT("([{}])()[]<[()]>")); }