コード例 #1
0
ファイル: Length.cs プロジェクト: RailByte/Groundframe
 public void Length_Prop_MilesAndChains(int Meters, string ExpectedValue)
 {
     GroundFrame.Core.Length TestLength = new GroundFrame.Core.Length(Meters);
     Assert.Equal(ExpectedValue, TestLength.MilesAndChains);
 }
コード例 #2
0
ファイル: Length.cs プロジェクト: RailByte/Groundframe
 public void Length_Prop_DecimalMiles(int Meters, decimal ExpectedValue)
 {
     GroundFrame.Core.Length TestLength = new GroundFrame.Core.Length(Meters);
     Assert.Equal(ExpectedValue, TestLength.DecimalMiles);
 }