Skip to content

Tests exercises 1#13

Open
zambala wants to merge 4 commits intomainfrom
Polymorphism
Open

Tests exercises 1#13
zambala wants to merge 4 commits intomainfrom
Polymorphism

Conversation

@zambala
Copy link
Copy Markdown
Owner

@zambala zambala commented Mar 31, 2023

No description provided.

@zambala zambala requested a review from EdgarsSalmins March 31, 2023 10:49
{
private Cat _cat;
private Tiger _tiger;
private Zebra _zebra;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

katra dzīvnieka testi savā testa klasē.

public void CalculateAnnualIncomey_NotIncludingUnfinishedRentals_YearIsNull()
{
//arrange
var rentedScooter = new RentedScooter("1", DateTime.UtcNow.AddMinutes(-10), 0.2m);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kods atkārtojas katrā testa metodē.. vajag iznest atsevišķā metodē tad. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants