public void ConvertStrToInt_V1() { var allDigitStr = ConstrainedSomething.Create("123"); var actual = ConvertStrToInt.ConvertStrToInt_V1(allDigitStr); const int expected = 123; Assert.AreEqual(expected, actual); }
/// <summary> /// With constrained input /// </summary> public static int ConvertStrToInt_V1(ConstrainedSomething input) { throw new Exception(); }