Tulis pengujian yang mencakup kode ini
A ready-to-use “Pemrograman” AI prompt template, designed and tested with Claude. Replace the (bracketed) parts below with your own needs.
Prompt template
Tulis uji untuk kode di bawah. Syarat: mencakup kasus normal, tepi, dan galat; namai tiap uji dengan jelas untuk menyatakan apa yang diujinya; gunakan kerangka uji umum bahasa tersebut; dan tunjukkan kasus lain apa yang layak ditambahkan. Kode: ``` tempel kodenya ```
How to use this prompt
- Copy the whole prompt above and paste it into Claude or ChatGPT / Claude / Gemini.
- Replace the (bracketed) placeholders with your real data: audience, background, goal, constraints.
- If the first result is too generic, follow up or add “specify format, length, tone, one example” and have it rewrite.
Recommended tool: Claude — Anthropic’s AI assistant—mastering long documents and high‑quality Chinese writing