ProductionRatePerHour() публичный статический Метод

public static ProductionRatePerHour ( int speed ) : double
speed int
Результат double
Пример #1
0
 public void ProductionRatePerHourForSpeedOne() =>
 Assert.Equal(221.0, AssemblyLine.ProductionRatePerHour(1));
Пример #2
0
 public void ProductionRatePerHourForSpeedNine() =>
 Assert.Equal(1531.53, AssemblyLine.ProductionRatePerHour(9));
Пример #3
0
 public void ProductionRatePerHourForSpeedZero() =>
 Assert.Equal(0.0, AssemblyLine.ProductionRatePerHour(0));
Пример #4
0
 public void ProductionRatePerHourForSpeedFour() =>
 Assert.Equal(884.0, AssemblyLine.ProductionRatePerHour(4));
Пример #5
0
 public void ProductionRatePerHourForSpeedSeven() =>
 Assert.Equal(1392.3, AssemblyLine.ProductionRatePerHour(7));
 public void Production_rate_per_hour_for_speed_nine()
 {
     Assert.Equal(1591.2, AssemblyLine.ProductionRatePerHour(9), precision: 1);
 }
 public void Production_rate_per_hour_for_speed_ten()
 {
     Assert.Equal(1701.7, AssemblyLine.ProductionRatePerHour(10), precision: 1);
 }
 public void Production_rate_per_hour_for_speed_four()
 {
     Assert.Equal(884.0, AssemblyLine.ProductionRatePerHour(4), precision: 1);
 }
 public void Production_rate_per_hour_for_speed_seven()
 {
     Assert.Equal(1392.3, AssemblyLine.ProductionRatePerHour(7), precision: 1);
 }
 public void Production_rate_per_hour_for_speed_one()
 {
     Assert.Equal(221.0, AssemblyLine.ProductionRatePerHour(1), precision: 1);
 }
Пример #11
0
 public void Production_rate_per_hour_for_speed_zero()
 {
     Assert.Equal(0.0, AssemblyLine.ProductionRatePerHour(0));
 }
Пример #12
0
 public void ProductionRatePerHour(int speed, double expected) =>
 Assert.Equal(expected, AssemblyLine.ProductionRatePerHour(speed));
Пример #13
0
 public void ProductionRatePerHourForSpeedTen() =>
 Assert.Equal(1701.7, AssemblyLine.ProductionRatePerHour(10));
Пример #14
0
 public void ProductionRatePerHourForSpeedNine()
 {
     Assert.Equal(1591.2, AssemblyLine.ProductionRatePerHour(9));
 }