thiagowfx's avatar

Β¬ just serendipity πŸ€ (not just serendipity)

tests with assertions

β€’ 35 words β€’ 1 min β€’ updated

python
# returns something we want to inspect
def solve():
  pass

def main():
  # program logic goes here

  assert solve(1) == [...]
  assert solve(0) == [...]

  # and so son

if __name__ == "__main__":
  main()