The Campaign Budget Optimizer is a C# application that calculates the optimal budget for a specific ad in a campaign, ensuring the total budget remains within the predefined limits.
- .NET SDK 6.0 or later installed on your machine.
-
Clone the Repository
git clone https://github.com/yourusername/Campaign-Budget-Optimizer.git cd Campaign-Budget-Optimizer
-
Restore Dependencies
dotnet restore
-
Build the Project
dotnet build
-
Run the Application
dotnet run --project CampaignBudgetOptimizer.csproj
-
Run the Tests
To ensure the application works as expected, unit tests are included. You can run these tests using the following commands:
cd CampaignBudgetOptimizer.Tests dotnet test
This will execute the unit tests and display the results in the console, helping you verify that the application logic is correct.
- Ensure your environment meets the prerequisites before running the application.