WorkingItemsPerMinute() public static method

public static WorkingItemsPerMinute ( int speed ) : int
speed int
return int
Esempio n. 1
0
 public void WorkingItemsPerMinuteForSpeedTen() =>
 Assert.Equal(28, AssemblyLine.WorkingItemsPerMinute(10));
Esempio n. 2
0
 public void WorkingItemsPerMinuteForSpeedFive() =>
 Assert.Equal(16, AssemblyLine.WorkingItemsPerMinute(5));
Esempio n. 3
0
 public void WorkingItemsPerMinuteForSpeedEight() =>
 Assert.Equal(26, AssemblyLine.WorkingItemsPerMinute(8));
Esempio n. 4
0
 public void WorkingItemsPerMinuteForSpeedZero() =>
 Assert.Equal(0, AssemblyLine.WorkingItemsPerMinute(0));
Esempio n. 5
0
 public void WorkingItemsPerMinuteForSpeedOne() =>
 Assert.Equal(3, AssemblyLine.WorkingItemsPerMinute(1));
 public void Working_items_per_minute_for_speed_zero()
 {
     Assert.Equal(0, AssemblyLine.WorkingItemsPerMinute(0));
 }
 public void Working_items_per_minute_for_speed_one()
 {
     Assert.Equal(3, AssemblyLine.WorkingItemsPerMinute(1));
 }
 public void Working_items_per_minute_for_speed_ten()
 {
     Assert.Equal(28, AssemblyLine.WorkingItemsPerMinute(10));
 }
 public void Working_items_per_minute_for_speed_eight()
 {
     Assert.Equal(26, AssemblyLine.WorkingItemsPerMinute(8));
 }
 public void Working_items_per_minute_for_speed_five()
 {
     Assert.Equal(16, AssemblyLine.WorkingItemsPerMinute(5));
 }
Esempio n. 11
0
 public void WorkingItemsPerMinute(int speed, int expected) =>
 Assert.Equal(expected, AssemblyLine.WorkingItemsPerMinute(speed));
Esempio n. 12
0
 public void WorkingItemsPerMinuteForSpeedNine() =>
 Assert.Equal(26, AssemblyLine.WorkingItemsPerMinute(9));