예제 #1
0
 public void EnumerateUnitsForMass(UscSystem subject)
 {
     subject.GetUnits(Dimensions.Mass).Should().BeEquivalentTo(
         Units.PoundsMass, Units.Ounces, Units.Slugs, Units.ShortTons);
 }
예제 #2
0
 public void EnumerateUnitsForTime(UscSystem subject)
 {
     subject.GetUnits(Dimensions.Time).Should().BeEquivalentTo(
         Units.Days, Units.Hours, Units.Minutes, Units.Seconds);
 }
예제 #3
0
 public void Force(UscSystem subject)
 {
     subject[Dimensions.Force].Should().Be(Units.PoundsForce);
 }
예제 #4
0
 public void EnumerateUnitsForLength(UscSystem subject)
 {
     subject.GetUnits(Dimensions.Length).Should().BeEquivalentTo(
         Units.Feet, Units.Inches, Units.Yards, Units.Miles);
 }
예제 #5
0
 public void UscPressure(UscSystem subject)
 {
     subject[Dimensions.Pressure].Should().Be(Units.PoundsPerSquareInch);
 }
예제 #6
0
 public void UscTime(UscSystem subject)
 {
     subject[Dimensions.Time].Should().Be(Units.Seconds);
 }
예제 #7
0
 public void UscMass(UscSystem subject)
 {
     subject[Dimensions.Mass].Should().Be(Units.PoundsMass);
 }
예제 #8
0
 public void UscLength(UscSystem subject)
 {
     subject[Dimensions.Length].Should().Be(Units.Feet);
 }
예제 #9
0
 public void Consistent(UscSystem subject)
 {
     subject.ShouldBeConsistent();
 }