@@ -13,8 +13,8 @@ minutes: 10
1313> - Understand how test fixtures can help write tests.
1414
1515Unit tests are so called because they exercise the functionality of the code by
16- interrogating individual functions and methods. Fuctions and methods can often
17- be considered the atomic units of software because they are indivisble .
16+ interrogating individual functions and methods. Functions and methods can often
17+ be considered the atomic units of software because they are indivisible .
1818However, what is considered to be the smallest code _ unit_ is subjective. The
1919body of a function can be long are short, and shorter functions are arguably
2020more unit-like than long ones.
@@ -27,7 +27,7 @@ practically (a function is self-contained and well defined), then it is a unit.
2727> ## Functions are Like Paragraphs {.callout}
2828>
2929> Recall that humans can only hold a few ideas in our heads at once. Paragraphs
30- > in books, for example, become unwieldy after a few lines. Functions, generaly ,
30+ > in books, for example, become unwieldy after a few lines. Functions, generally ,
3131> shouldn't be longer than paragraphs.
3232> Robert C. Martin, the author of "Clean Code" said : "The first rule of
3333> functions is that _ they should be small_ . The second rule of functions is that
0 commit comments