public void GivenValues_WhenRunningCode_ThenExpectedValueIsReturned(
            string s, long n, long expectedResult)
        {
            var actualResult = RepeatedStrings.RepeatedString(s, n);

            Assert.Equal(expectedResult, actualResult);
        }
示例#2
0
    static void Main(string[] args)
    {
        Kangaroo kangaroo = new Kangaroo();

        kangaroo.Run();

        CamelCase camelCase = new CamelCase();

        camelCase.Run();

        StrongPassword strongPassword = new StrongPassword();

        strongPassword.Run();

        GradingStudents gradingStudents = new GradingStudents();

        gradingStudents.Run();

        IceCreamParlor iceCreamParlor = new IceCreamParlor();

        iceCreamParlor.Run();

        SockMerchant sockMerchant = new SockMerchant();

        sockMerchant.Run();

        RepeatedStrings repeatedStrings = new RepeatedStrings();

        repeatedStrings.Run();
    }