-
A trivial example from the "TDD with Idris" produces strange results. Happened in Idris Version 1.3.0.
```
toBinary: Nat -> String
toBinary k with (halfRec k)
toBinary Z | HalfRecZ = ""
toBi…
-
## A create books endpoint.
This ticket is light on implementation details on purpose. I want you to bring together all we've been learning and apply it here.
If you get stuck, I'm always an ema…
-
JS example code in kata editor is still this:
```javascript
Test.expect(websites.length > 0, 'The array is still empty')
Test.expect(websites.length == 1, 'The array contains too many values')
Test.e…
-
While Python is fine, it might be preferable to rewrite using Typescript and another framework, such as [Discordx](https://github.com/discordx-ts/discordx). This should be done alongside #39 to remove…
-
If the user forgets to properly name their inputs there should be some kind of error message instead of waiting for some assert or matrix multiplication to fail. Some kind of warning that checks for i…
-
完成地不錯,幾點建議如下:
1. expected 無須額外強轉型成 List
`var expected = (new[] { 6, 15, 24, 21 }).ToList();`
2. 目前的設計是在 constructor 傳入集合資料,這樣設計有好處有壞處,好處是API會省掉一個參數,比較簡潔,壞處則是當我想用同一個 OrderAnalyzer instance 處理別的資料集合時…
-
最後的 production code 挺簡潔的,但並沒有按照 homework 的規範,一次只針對一個測試案例,用最少的程式碼「剛好」地通過測試案例,一行多的程式都不寫。
當然有可能是因為 homework 的需求太簡單,所以可以一步到位。
或許你可以拿一下 [GameOfLife](https://zh.wikipedia.org/zh-tw/%E5%BA%B7%E5%A8%81%…
-
Hi,
Probably this is not an issue, but a lack of understanding from my side. However, I am unable to get it working. My goal is to add e2e tests to the web version of https://github.com/foambubble/…
-
Take some time to properly organize all the tests.
Probably would be best to split them up my module and giving them individual `conftest.py(s)` or something.
-
建議如下:
1. 這邊的 Product 與 Order 似乎欄位都是一樣的,分不太清楚您刻意用兩個型別想要來闡述的目的。是否是要說明,可以support不同型別?如果是,那我會建議把 property name 刻意分成不同的,來「說明」這個 class 可以 support 多型別。
2. 目前設計是在 constructor 傳入資料集合(generic class),這有好處也有壞處,好處…