Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Vovanda committed Jul 29, 2020
1 parent 4162caf commit 3303454
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions csharp/Platform.Numbers.Tests/CalcResultTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ public static class CalcResultTests
public static void SimpleIntegration_Test()
{
//arrange
int expected = (5 + 6) * (3 + 9 / 3);
int expected = (5 + 6) * (3 + (9 / 3));
expected++;
expected++;
expected--;

//act
var result = ((CalcResult<int>)5 + 6) * (3 + 9 / (CalcResult<int>)3);
var result = ((CalcResult<int>)5 + 6) * (3 + (9 / (CalcResult<int>)3));
result.Increment();
result++;
result--;
Expand Down
4 changes: 2 additions & 2 deletions csharp/Platform.Numbers/CalcResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,11 @@ public T Value
}
}

public bool IsValid;
public bool IsValid { get; set; }

public string Message { get; private set; }

private T _value;
private T _value ;

#region Operator overloading

Expand Down

0 comments on commit 3303454

Please sign in to comment.