3
如何通過填寫magic
來完成此測試?DU案例名稱
type DU =
| ACaseName
| BThereCake
let magic (q: Quotation<_>): string =
// smallest F# code in here?
open Expecto
let subject = magic <@ ACaseName @>
Expect.equal subject "ACaseName" "Should extract the NAME of the DU case"
我只是想而不案件的名稱。 :) – Henrik