def test_calculate_single_labour_costs_7(self): parser = ShiftParser() assert parser.calculate_single_labour_costs(example_7) == { '10:00': 9.999999999999998, '13:00': 9.999999999999998, '14:00': 9.999999999999998, '15:00': 9.999999999999998, }
def test_calculate_single_labour_costs_1(self): parser = ShiftParser() assert parser.calculate_single_labour_costs(example_2) == { '18:00': 6.000000000000003, '19:00': 11.99999999999999, '20:00': 11.99999999999999, '21:00': 11.99999999999999, '22:00': 11.99999999999999, }
def test_calculate_single_labour_costs_4(self): parser = ShiftParser() assert parser.calculate_single_labour_costs(example_4) == { '09:00': 9.999999999999998, '10:00': 9.999999999999998, '11:00': 9.999999999999998, '12:00': 9.999999999999998, '13:00': 9.999999999999998, '14:00': 9.999999999999998, '16:00': 9.999999999999998, '17:00': 9.999999999999998, }
def test_calculate_single_labour_costs_6(self): parser = ShiftParser() assert parser.calculate_single_labour_costs(example_6) == { '11:00': 9.999999999999998, '12:00': 9.999999999999998, '13:00': 9.999999999999998, '14:00': 9.999999999999998, '17:00': 9.999999999999998, '18:00': 9.999999999999998, '19:00': 9.999999999999998, '20:00': 9.999999999999998, '21:00': 9.999999999999998, '22:00': 9.999999999999998, }
def test_calculate_single_labour_costs_3(self): parser = ShiftParser() assert parser.calculate_single_labour_costs(example_3) == { '12:00': 13.99999999999998, '13:00': 13.99999999999998, '14:00': 13.99999999999998, '15:00': 13.99999999999998, '17:00': 13.99999999999998, '18:00': 13.99999999999998, '19:00': 13.99999999999998, '20:00': 13.99999999999998, '21:00': 13.99999999999998, '22:00': 7.000000000000001, }
def test_calculate_single_labour_costs_5(self): parser = ShiftParser() assert parser.calculate_single_labour_costs(example_5) == { '09:00': 19.999999999999996, '10:00': 19.999999999999996, '11:00': 19.999999999999996, '12:00': 19.999999999999996, '13:00': 19.999999999999996, '14:00': 19.999999999999996, '15:00': 19.999999999999996, '16:00': 16.666666666666675, '17:00': 19.999999999999996, '18:00': 19.999999999999996, '19:00': 19.999999999999996, '20:00': 19.999999999999996, '21:00': 19.999999999999996, '22:00': 19.999999999999996, }