Skip to content

Commit 0dc0b34

Browse files
authored
Merge pull request #302 from SamSmithNZ-dotcom/copilot/rename-unittests-class
Rename UnitTests class to UnitsTests and remove duplicate test
2 parents 0fece21 + f1a04a9 commit 0dc0b34

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

src/MandMCounter.Tests/UnitsTests.cs

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
using Microsoft.VisualStudio.TestTools.UnitTesting;
22
using MandMCounter.Core;
3-
using System;
43
using System.Collections.Generic;
54

65
namespace MandMCounter.Tests
76
{
87
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
98
[TestClass]
10-
public class UnitTests
9+
public class UnitsTests
1110
{
1211
[TestMethod]
1312
public void GetUnitsForVolumeTest()
@@ -37,19 +36,6 @@ public void GetUnitsForContainerTest()
3736
Assert.IsFalse(string.IsNullOrEmpty(results[0]));
3837
}
3938

40-
[TestMethod]
41-
public void CountSkittlesInAUSCupTest()
42-
{
43-
//Arrange
44-
string unit = "Cup";
45-
float quantity = 1f;
46-
47-
//Act
48-
float result = Calculator.CountSkittles(unit, quantity);
49-
50-
//Assert
51-
Assert.AreEqual(212, (int)Math.Round(result, 0));
52-
}
5339

5440
}
5541
}

0 commit comments

Comments
 (0)