Skip to content

Commit c7836ec

Browse files
cleanup analyzer tests #106
1 parent 3b1f6df commit c7836ec

File tree

9 files changed

+11
-18
lines changed

9 files changed

+11
-18
lines changed

src/services/gameapi/Codebreaker.GameAPIs.Analyzers.Tests/Analyzers/ColorGame6x4AnalyzerTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
using System.Collections;
2+
using System.Reflection.Emit;
23

34
using static Codebreaker.GameAPIs.Models.Colors;
45

5-
namespace Codebreaker.GameAPIs.Algorithms.Tests;
6+
namespace Codebreaker.GameAPIs.Analyzer.Tests;
67

78
public class ColorGame6x4AnalyzerTests
89
{

src/services/gameapi/Codebreaker.GameAPIs.Analyzers.Tests/Analyzers/ColorGame8x5AnalyzerTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
using System.Collections;
22

3-
using Codebreaker.GameAPIs.Analyzers;
4-
53
using static Codebreaker.GameAPIs.Models.Colors;
64

7-
namespace Codebreaker.GameAPIs.Algorithms.Tests;
5+
namespace Codebreaker.GameAPIs.Analyzer.Tests;
86

97
public class ColorGame8x5AnalyzerTests
108
{

src/services/gameapi/Codebreaker.GameAPIs.Analyzers.Tests/Analyzers/ShapeGame5x5x4AnalyzerTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
using System.Collections;
22

3-
using Codebreaker.GameAPIs.Analyzers;
4-
53
using static Codebreaker.GameAPIs.Models.Colors;
64
using static Codebreaker.GameAPIs.Models.Shapes;
75

8-
namespace Codebreaker.GameAPIs.Algorithms.Tests;
6+
namespace Codebreaker.GameAPIs.Analyzer.Tests;
97

108
// TODO: add more unit tests
119
public class ShapeGame5x5x4AnalyzerTests

src/services/gameapi/Codebreaker.GameAPIs.Analyzers.Tests/MockColorGame.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Codebreaker.GameAPIs.Algorithms.Tests;
1+
namespace Codebreaker.GameAPIs.Analyzer.Tests;
22

33
public class MockColorGame : IGame
44
{

src/services/gameapi/Codebreaker.GameAPIs.Analyzers.Tests/MockShapeGame.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Codebreaker.GameAPIs.Algorithms.Tests;
1+
namespace Codebreaker.GameAPIs.Analyzer.Tests;
22

33
public class MockShapeGame : IGame
44
{

src/services/gameapi/Codebreaker.GameAPIs.Analyzers.Tests/Results/ColorResultTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using Codebreaker.GameAPIs.Models;
2-
3-
namespace Codebreaker.GameAPIs.Algorithms.Tests;
1+
namespace Codebreaker.GameAPIs.Analyzer.Tests;
42

53
public class ColorResultTests
64
{

src/services/gameapi/Codebreaker.GameAPIs.Analyzers.Tests/Results/ShapeAndColorResultTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using Codebreaker.GameAPIs.Models;
2-
3-
namespace Codebreaker.GameAPIs.Algorithms.Tests;
1+
namespace Codebreaker.GameAPIs.Analyzer.Tests;
42

53
public class ShapeAndColorResultTests
64
{

src/services/gameapi/Codebreaker.GameAPIs.Analyzers.Tests/Results/SimpleColorResultTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Codebreaker.GameAPIs.Algorithms.Tests;
1+
namespace Codebreaker.GameAPIs.Analyzer.Tests;
22

33
public class SimpleColorResultTests
44
{

src/services/gameapi/Codebreaker.GameAPIs.Tests/GamesApiApplication.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
namespace Codebreaker.GameAPIs.Tests;
55

6-
internal class GamesApiApplication(string envrionment = "Development") : WebApplicationFactory<Program>
6+
internal class GamesApiApplication(string environment = "Development") : WebApplicationFactory<Program>
77
{
8-
private readonly string _environment = envrionment;
8+
private readonly string _environment = environment;
99

1010
protected override IHost CreateHost(IHostBuilder builder)
1111
{

0 commit comments

Comments
 (0)