using System;
namespace StardewModdingAPI.Tests.Framework
{
/// Provides sample values for unit testing.
internal static class Sample
{
/*********
** Properties
*********/
/// A random number generator.
private static readonly Random Random = new Random();
/*********
** Properties
*********/
/// Get a sample string.
public static string String()
{
return Guid.NewGuid().ToString("N");
}
/// Get a sample integer.
public static int Int()
{
return Sample.Random.Next();
}
}
}