Skip to content

V.A11

Choose a tag to compare

@LilaNguyen LilaNguyen released this 18 Nov 09:37
· 9 commits to main since this release

Practice using shell script to call python script, writing and importing a module, and unit testing.

Objectives:

  • Write a python script to define a power function (raising a number to a power) and divide function.
  • Create a unit tests for the power and divide functions that cover edge test such as zero powers, zero as a divisor, and negative exponents. Include at least 3 edge cases for power function and 3 edge cases for divide function.
  • Run unit test using a shell script