Answer principles round 4: 0 🔴, 1 🟡; test a tied outcomes side that unranked values would miss, and the levels' lowest values in a test of their own
This commit is contained in:
@@ -603,6 +603,8 @@ class Routing(unittest.TestCase):
|
||||
with self.subTest(item=item, likelihood=likelihood, escape_and_impact=escape_and_impact):
|
||||
with self.assertRaises(ValueError):
|
||||
Route(self.HIGH, item, likelihood, escape_and_impact)
|
||||
|
||||
def test_takes_a_route_whose_item_holds_each_levels_lowest_value(self):
|
||||
self.assertEqual(Route(self.HIGH, 3, 1, 2).escape_and_impact, 2)
|
||||
|
||||
def test_routes_nothing_on_an_item_without_e_or_i(self):
|
||||
|
||||
Reference in New Issue
Block a user