Help me with these braces


#1

import static org.junit.Assert.*;
import org.junit.Test;

public class BraceCheckerTests {

private BraceChecker checker = new BraceChecker();

@Test
public void testValid() {
assertEquals(true, checker.isValid("()"));
}

@Test
public void testInvalid() {
assertEquals(false, checker.isValid("()"));
}

}


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.