🏠 Início
Avaliações
📊 Todos os Benchmarks 🦖 Dinossauro v1 🦖 Dinossauro v2 ✅ Aplicações To-Do List 🎨 Páginas Livres Criativas 🎯 FSACB - Showcase Definitivo 🌍 Benchmark de Tradução
Modelos
🏆 Top 10 Modelos 🆓 Modelos Gratuitos 📋 Todos os Modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de Prompts 📖 Glossário de IA 🔗 Links Úteis
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.