示例#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)