<commit_before>﻿// Copyright (c) <NAME>, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.

namespace MartinCostello.ProjectEuler.Puzzles
{
    using System.Collections.Generic;
    using Xunit;

    /// <summary>
    /// A class containing tests for the <see cref="Puzzle035"/> class. This class cannot be inherited.
    /// </summary>
    public static class Puzzle035Tests
    {
        [Theory]
        [InlineData(100, 13)]
        [InlineData(1000000, 55)]
        public static void Puzzle035_Returns_Correct_Solution(string maximum, int expected)
        {
            // Arrange
            var args = new[] { maximum };

            // Act and Assert
            Puzzles.AssertSolution<Puzzle035>(args, expected);
        }

        [Theory]
        [InlineData(197, new[] { 197, 971, 719 })]
        public static void Puzzle035_GetRotations_Returns_Correct_Values(int value, IEnumerable<int> expected)
        {
            // Act
            IEnumerable<int> actual = Puzzle035.GetRotations(value);

            // Assert
            Assert.Equal(expected, actual);
        }

        [Fact]
        public static void Puzzle035_Returns_Minus_One_If_Maximum_Is_Invalid()
        {<commit_msg>Disable slow test<commit_after>﻿// Copyright (c) <NAME>, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.

namespace MartinCostello.ProjectEuler.Puzzles
{
    using System.Collections.Generic;
    using Xunit;

    /// <summary>
    /// A class containing tests for the <see cref="Puzzle035"/> class. This class cannot be inherited.
    /// </summary>
    public static class Puzzle035Tests
    {
        [Theory]
        [InlineData(100, 13)]
        public static void Puzzle035_Returns_Correct_Solution(string maximum, int expected)
        {
            // Arrange
            var args = new[] { maximum };

            // Act and Assert
            Puzzles.AssertSolution<Puzzle035>(args, expected);
        }

        [Theory]
        [InlineData(1000000, 55)]
        public static void Puzzle035_Returns_Correct_Solution_Slow(string maximum, int expected)
        {
            // Arrange
            var args = new[] { maximum };

            // Act and Assert
            Puzzles.AssertSolution<Puzzle035>(args, expected);
        }

        [Theory]
        [InlineData(197, new[] { 197, 971, 719 })]
        public static void Puzzle035_GetRotations_Returns_Correct_Values(int value, IEnumerable<int> expected)
        {
            // Act
            IEnumerable<int> actual = Puzzle035.GetRotations(value);

            // Assert
            Assert.Equal(expected, actual);
        }

        [Fact]
        public static void Puzzle035_Returns_Minus_One_If_Maximum_Is_Invalid()
        {
{'fraction_non_alphanumeric': 0.09349030470914127, 'fraction_numerical': 0.038781163434903045, 'mean_word_length': 2.171240395170143, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2360862', 'n_tokens_mistral': 898, 'n_tokens_neox': 774, 'n_words': 220}