Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
tmilnthorp committed Oct 17, 2018
1 parent 8ca0738 commit b2c0097
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UnitsNet.Tests/BaseDimensionsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,9 @@ public void IsDimensionlessMethodImplementedCorrectly()
Assert.True(BaseDimensions.Dimensionless.IsDimensionless());
Assert.True(new BaseDimensions(0, 0, 0, 0, 0, 0, 0).IsDimensionless());

Assert.False(BaseDimensions.Dimensionless.IsBaseQuantity());
Assert.False(BaseDimensions.Dimensionless.IsDerivedQuantity());

// Example case
Assert.True(Level.BaseDimensions.IsDimensionless());
}
Expand Down

0 comments on commit b2c0097

Please sign in to comment.