public void ConfirmHasComment_FalseIfNoSQLBlockComment() { //Arrange Boolean Expected = false; String Input = "A String //NotASqlComment"; LineProcessor LineProcessor = new LineProcessor(Input); //Act Boolean Actual = LineProcessor.CheckHasComment(); //Assert Assert.AreEqual(Expected, Actual); }
public void ConfirmHasComment_TrueIfHasSQLBlockComment() { //Arrange Boolean Expected = true; String Input = "A String /*SqlComment*/ asdf"; LineProcessor LineProcessor = new LineProcessor(Input); //Act Boolean Actual = LineProcessor.CheckHasComment(); //Assert Assert.AreEqual(Expected, Actual); }