I hereby claim:
- I am litichevskiydv on github.
- I am litichevskiydv (https://keybase.io/litichevskiydv) on keybase.
- I have a public key whose fingerprint is 7CB1 32EE 53DC 7F26 F7B8 24AF 95C3 A10E 208B 8F15
To claim this, I am signing this object:
<ItemGroup> | |
<Content Include="ReportTemplate.xlsx" Pack="true"> | |
<BuildAction>Content</BuildAction> | |
<PackageCopyToOutput>true</PackageCopyToOutput> | |
</Content> | |
</ItemGroup> |
I hereby claim:
To claim this, I am signing this object:
public class IllustrationsPrintingCostsCalculatorTests | |
{ | |
private readonly IllustrationsPrintingCostsCalculator _calculator; | |
public IllustrationsPrintingCostsCalculatorTests() | |
{ | |
var mockPriceDownloader = new Mock<IPriceDownloader>(); | |
mockPriceDownloader | |
.Setup(...) | |
.Returns(...); |
public class IllustrationsPrintingCostsCalculatorTests | |
{ | |
private readonly IllustrationsPrintingCostsCalculator _calculator; | |
public IllustrationsPrintingCostsCalculatorTests() | |
{ | |
var mockIllustrationsPlacer = new Mock<IIllustrationsPlacer>(); | |
mockIllustrationsPlacer | |
.Setup(...) | |
.Returns(...); |
public class PrintOrderProcessingResultsMapperTests | |
{ | |
UsedImplicitly] | |
public static IEnumerable<object[]> BulkInsertUsageTestsData; | |
static PrintOrderProcessingResultsMapperTests() | |
{ | |
BulkInsertUsageTestsData = | |
new[] | |
{ |
public class PrintOrderProcessingResultsMapperTests | |
{ | |
.... | |
[Fact] | |
public void ShouldVerifyPrintOrderProcessingResultsMapping() | |
{ | |
..... | |
// Then | |
Assert.Equal(200d, actual.PrintingCost); | |
Assert.Equal(300, actual.PagesCount); |
public class CalculatorOfExpensesForDesignerWorkTests | |
{ | |
private readonly CalculatorOfExpensesForDesignerWork _calculator; | |
[UsedImplicitly] | |
public static readonly IEnumerable<object[]> TestsData; | |
static CalculatorOfExpensesForDesignerWorkTests() | |
{ | |
TestsData = |
public static class PrintOrdersGenerator | |
{ | |
public interface IPrintOrderBuilder | |
{ | |
IPrintOrderConfigurator WithEditionType(EditionType editionType); | |
IPrintOrderConfigurator WithCoverType(CoverType coverType); | |
IPrintOrderConfigurator WithPageSize(PageSize pageSize); | |
IPrintOrderConfigurator WithPaperType(PaperType paperType); | |
IPrintOrderConfigurator WithIllustrations(params Illustration[] illustrations); | |
IPrintOrderConfigurator WithFontSize(int fontSize); |
public class CalculatorOfExpensesForDesignerWorkTests | |
{ | |
private readonly CalculatorOfExpensesForDesignerWork _calculator; | |
[UsedImplicitly] | |
public static readonly IEnumerable<object[]> TestsData; | |
static CalculatorOfExpensesForDesignerWorkTests() | |
{ | |
TestsData = |
public class PrintOrderCostCalculationService : IPrintOrderCostCalculationService | |
{ | |
private readonly IEnumerable<IExpensesCalculator> _expensesCalculators; | |
public PrintOrderCostCalculationService(IEnumerable<IExpensesCalculator> expensesCalculators) | |
{ | |
_expensesCalculators = expensesCalculators; | |
} | |
public double Calculate(PrintOrder order) | |
{ |