namespace VideoBrowser.Test.TestHelpers { using System; /// /// Defines the . /// internal static class TestHelper { #region Properties /// /// Gets the Random. /// private static Random Random { get; } = new Random(); #endregion Properties #region Methods /// /// The GetRandomInt. /// /// The start. /// The end. /// The . internal static int GetRandomInt(int start, int end) { var random = start + Random.NextDouble() * (end - start); return (int)random; } /// /// The GetRandomLong. /// /// The start. /// The end. /// The . internal static long GetRandomLong(long start, long end) { var random = start + Random.NextDouble() * (end - start); return (long)random; } #endregion Methods } }