public void BalancedStringSplit_1() { var solution = new _1221_SplitAStringInBalancedStrings(); var result = solution.BalancedStringSplit("RLRRLLRLRL"); Assert.AreEqual(4, result); }
public void BalancedStringSplit_3() { var solution = new _1221_SplitAStringInBalancedStrings(); var result = solution.BalancedStringSplit("LLLLRRRR"); Assert.AreEqual(1, result); }