コード例 #1
0
        public void Working_Decimal_Cases(string caseName, decimal expected, decimal[] input)
        {
            var spectacularClass = new SpectacularClass();

            spectacularClass.DecimalAdd(input).ShouldBe(expected);
        }
コード例 #2
0
        public void Working_Complicated_TestCases(string caseName, int expected, WeatherBalloon[] input)
        {
            var spectacularClass = new SpectacularClass();

            spectacularClass.ComplicatedAdd(input).ShouldBe(expected);
        }
コード例 #3
0
        public void Simple_Cases(string caseName, int expected, int[] input)
        {
            var spectacularClass = new SpectacularClass();

            spectacularClass.SimpleAdd(input).ShouldBe(expected);
        }