Skip to content
Snippets Groups Projects
Commit 711f6dda authored by niklasBr's avatar niklasBr
Browse files

added assert, input has to be 0 or greater

parent 110a841b
No related branches found
No related tags found
No related merge requests found
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Mime; using System.Net.Mime;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.Remoting.Messaging; using System.Runtime.Remoting.Messaging;
...@@ -30,6 +31,8 @@ namespace ConsoleApplication1 ...@@ -30,6 +31,8 @@ namespace ConsoleApplication1
Environment.Exit(1); Environment.Exit(1);
} }
Debug.Assert(nrProd > -1 && nrCons > -1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment