コード例 #1
0
 def test_meters_to_walking_time_integer_result():
     assert 1 == meters_to_walking_time(80)
コード例 #2
0
 def test_meters_to_walking_time_None_param():
     assert -1 == meters_to_walking_time(None)
コード例 #3
0
 def test_meters_to_walking_time_zero_edge_case():
     assert 0 == meters_to_walking_time(79)
コード例 #4
0
 def test_meters_to_walking_time_floating_param():
     assert 1 == meters_to_walking_time(80.5)
コード例 #5
0
 def test_meters_to_walking_time_floating_result():
     assert 1 == meters_to_walking_time(81)