public void TestAssertDimension() { var distance = new Quantity(10, Length.dimension); var typed = distance.Assert <Length>(); Assert.IsType <Quantity <Length> >(typed); Assert.Equal(Length.dimension, typed.Dimension); }
public void TestAssertDimension() { var distance = new Quantity(10, Length.dimension); var typed = distance.Assert <Length>(); Assert.IsType <Quantity <Length> >(typed); Assert.Equal(Length.dimension, typed.Dimension); }