Skip to content

Commit 9a2df40

Browse files
challenge: format salary slip code example
1 parent f9710a1 commit 9a2df40

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

docs/simple-projects/tdd-kata/salary-slip-generator.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -164,17 +164,19 @@ Calculation rules:
164164

165165
- Income tax (additional rate band) : Any amount of money earned above a gross annual salary of £150,000.00 is taxed at 45%
166166

167+
168+
<!-- TODO; challenge: complete salary slip challenge example -->
169+
167170
??? EXAMPLE "Practicalli Salary Slip Kata"
168-
<!-- TODO; challenge: complete salary slip challenge example -->
169-
<!-- from https://github.com/practicalli-john/salary-slip-kata-devox-2019 -->
170-
```clojure
171-
(ns salary-slip-kata.core)
171+
[Salary slip kata - Devoxx 2019](https://github.com/practicalli-john/salary-slip-kata-devox-2019)
172172

173-
;; Developer Anarchy by Fred George
174-
;; - made devs write the same solution in different languages
175-
;; -- helps devs master the business domain
176-
;; -- helps devs master technology domain
173+
```clojure
177174

175+
(ns salary-slip-kata.core
176+
"Developer Anarchy by Fred George
177+
- made devs write the same solution in different languages
178+
-- helps devs master the business domain
179+
-- helps devs master technology domain")
178180

179181
(defn- national-insurance-contribution
180182
"Calculate the national insurance contribution due for a given annual salary.
@@ -221,4 +223,5 @@ Calculation rules:
221223
:tax-free-allowance tax-free-allowance
222224
:taxable-income taxable-income
223225
:tax-payable (* taxable-income 0.20)}))
224-
```
226+
```
227+

0 commit comments

Comments
 (0)