コード例 #1
0
        public void FrontAgain(string str, bool expected)
        {
            Strings Obj = new Strings();

            bool actual = Obj.FrontAgain(str);

            Assert.AreEqual(expected, actual);
        }
コード例 #2
0
ファイル: StringTests.cs プロジェクト: Heather4/swcguild
 public void FrontAgain(string str, bool expected)
 {
     //arrange
     Strings obj = new Strings();
     //act
     bool actual = obj.FrontAgain(str);
     //assert
     Assert.AreEqual(expected, actual);
 }
コード例 #3
0
ファイル: StringTests.cs プロジェクト: dimitre613/swcguild
 public void FrontAgain(string a, bool expResult)
 {
     Strings obj = new Strings();
     bool actual = obj.FrontAgain(a);
     Assert.AreEqual(actual, expResult);
 }
コード例 #4
0
ファイル: StringTests.cs プロジェクト: RingoKam/swcguild
        public void FrontAgain(string str, bool expectedResult)
        {
            //Arrange: get my target class
            Strings test = new Strings();

            //Act: call the method
            bool answer = test.FrontAgain(str);

            //Assert
            Assert.AreEqual(expectedResult, answer);
        }