public void PinLengthTest() { PinGeneratorService testExample = new PinGeneratorService(); string result = testExample.Generate(); Assert.IsTrue(result.Length == 4); }
public void PinIntTest() { PinGeneratorService testExample = new PinGeneratorService(); string result = testExample.Generate(); int num; Assert.IsTrue(int.TryParse(result, out num)); }