🏠 ホーム
ベンチマーク
📊 すべてのベンチマーク 🦖 恐竜 v1 🦖 恐竜 v2 ✅ To-Doリストアプリ 🎨 クリエイティブフリーページ 🎯 FSACB - アルティメットショーケース 🌍 翻訳ベンチマーク
モデル
🏆 トップ10モデル 🆓 無料モデル 📋 すべてのモデル ⚙️ 🛠️ Kilo Code モード
リソース
💬 💬 プロンプトライブラリ 📖 📖 AI用語集 🔗 🔗 有用なリンク
Intermediate

.NET Unit Testing with xUnit

#csharp #dotnet #xunit #moq

Generate unit tests for a C# .NET application using the xUnit framework.

Write xUnit tests for a C# class named 'Calculator' that implements basic arithmetic (Add, Subtract, Multiply, Divide). Use theories (InlineData) to test multiple input sets for the Add method. Ensure there is a test checking for DivideByZeroException.