File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 11using Microsoft . VisualStudio . TestTools . UnitTesting ;
22using MandMCounter . Core ;
3- using System ;
43using System . Collections . Generic ;
54
65namespace 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}
You can’t perform that action at this time.
0 commit comments