예제 #1
0
 def test_count_distinct_files_2(self):
     self.assertEquals(
         2,
         CABRuleTools.count_distinct_files([
             "BTC\TimeSeries\API\Test\ObservableProvider\BTC.CAB.TimeSeries.NET.API.Test.ObservableProvider.csproj",
             "BTC\TimeSeries\API\Test\DecoratorProvider\BTC.CAB.TimeSeries.NET.API.Test.DecoratorProvider.csproj"
         ]))
예제 #2
0
 def test_count_distinct_files_1(self):
     self.assertEquals(
         1,
         CABRuleTools.count_distinct_files([
             "BTC/TimeSeries/CommonsExtensions/BTC.CAB.TimeSeries.NET.CommonsExtensions.csproj",
             "BTC/TimeSeries/CommonsExtensions/BTC.CAB.TimeSeries.NET.CommonsExtensions.3.5.csproj"
         ]))