/lights

Python OOP & TDD Exercise

Primary LanguagePython

Lights

Python OOP & TDD Exercise

Story

  • There is a light
  • It can turn on and off
  • It can shine light or not
  • It can be put in a box with more lights
  • When a light shines, it emits lumens
  • Lumens are measured with an integer
  • A box of lights will emit the sum of lumens
  • Lumens have a human-relatable description (within a range)