diff --git a/test/Microsoft.ML.Tests/Scenarios/Scenario_HousePricePrediction.cs b/test/Microsoft.ML.Tests/Scenarios/HousePricePredictionTests.cs similarity index 94% rename from test/Microsoft.ML.Tests/Scenarios/Scenario_HousePricePrediction.cs rename to test/Microsoft.ML.Tests/Scenarios/HousePricePredictionTests.cs index 2b5fffa446..392462a0eb 100644 --- a/test/Microsoft.ML.Tests/Scenarios/Scenario_HousePricePrediction.cs +++ b/test/Microsoft.ML.Tests/Scenarios/HousePricePredictionTests.cs @@ -2,14 +2,17 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using Microsoft.ML.Models; using Microsoft.ML.Runtime.Api; using Microsoft.ML.TestFramework; +using Microsoft.ML.Trainers; +using Microsoft.ML.Transforms; using Xunit; using Xunit.Abstractions; namespace Microsoft.ML.Scenarios { - public partial class Top5Scenarios : BaseTestClass + public partial class ScenariosTests : BaseTestClass { /* A real-estate firm Contoso wants to add a house price prediction to their ASP.NET/Xamarin application. @@ -121,7 +124,7 @@ public class HousePricePrediction public float Price; } - public Top5Scenarios(ITestOutputHelper output) : base(output) + public ScenariosTests(ITestOutputHelper output) : base(output) { } } diff --git a/test/Microsoft.ML.Tests/Scenarios/Scenario_TrainPredictionModel.cs b/test/Microsoft.ML.Tests/Scenarios/HousePriceTrainAndPredictionTests.cs similarity index 93% rename from test/Microsoft.ML.Tests/Scenarios/Scenario_TrainPredictionModel.cs rename to test/Microsoft.ML.Tests/Scenarios/HousePriceTrainAndPredictionTests.cs index de7d2f6a00..38ec6ce073 100644 --- a/test/Microsoft.ML.Tests/Scenarios/Scenario_TrainPredictionModel.cs +++ b/test/Microsoft.ML.Tests/Scenarios/HousePriceTrainAndPredictionTests.cs @@ -1,15 +1,18 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.ML.Models; +using Microsoft.ML.Runtime.Api; +using Microsoft.ML.TestFramework; using Microsoft.ML.Trainers; using Microsoft.ML.Transforms; using Xunit; +using Xunit.Abstractions; namespace Microsoft.ML.Scenarios { - public partial class Top5Scenarios + public partial class ScenariosTests { [Fact(Skip = "Missing data set. See https://github.com/dotnet/machinelearning/issues/3")] public void TrainAndPredictHousePriceModelTest() @@ -70,4 +73,3 @@ public void TrainAndPredictHousePriceModelTest() } } } - diff --git a/test/Microsoft.ML.Tests/Scenarios/TrainAndPredictIrisModelTest.cs b/test/Microsoft.ML.Tests/Scenarios/IrisPlantClassificationTests.cs similarity index 99% rename from test/Microsoft.ML.Tests/Scenarios/TrainAndPredictIrisModelTest.cs rename to test/Microsoft.ML.Tests/Scenarios/IrisPlantClassificationTests.cs index d897303e30..30c497ccc5 100644 --- a/test/Microsoft.ML.Tests/Scenarios/TrainAndPredictIrisModelTest.cs +++ b/test/Microsoft.ML.Tests/Scenarios/IrisPlantClassificationTests.cs @@ -10,7 +10,7 @@ namespace Microsoft.ML.Scenarios { - public partial class Top5Scenarios + public partial class ScenariosTests { [Fact] public void TrainAndPredictIrisModelTest() diff --git a/test/Microsoft.ML.Tests/Scenarios/Scenario3_SentimentPrediction.cs b/test/Microsoft.ML.Tests/Scenarios/SentimentPredictionTests.cs similarity index 99% rename from test/Microsoft.ML.Tests/Scenarios/Scenario3_SentimentPrediction.cs rename to test/Microsoft.ML.Tests/Scenarios/SentimentPredictionTests.cs index a0591d34b9..131b8c02db 100644 --- a/test/Microsoft.ML.Tests/Scenarios/Scenario3_SentimentPrediction.cs +++ b/test/Microsoft.ML.Tests/Scenarios/SentimentPredictionTests.cs @@ -13,7 +13,7 @@ namespace Microsoft.ML.Scenarios { - public partial class Top5Scenarios + public partial class ScenariosTests { public const string SentimentDataPath = "wikipedia-detox-250-line-data.tsv"; public const string SentimentTestPath = "wikipedia-detox-250-line-test.tsv";