Skip to content

Commit

Permalink
Add: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnulusGames committed Aug 19, 2024
1 parent 1e064a7 commit e6f8908
Show file tree
Hide file tree
Showing 7 changed files with 619 additions and 3 deletions.
9 changes: 9 additions & 0 deletions RandomExtensions.sln
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RandomExtensions.Numerics",
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Benchmark", "sandbox\Benchmark\Benchmark.csproj", "{46E939EF-0F65-4AF2-9902-471065E62B45}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{F8776EC5-DF6E-4865-945F-E8E0D840E1A4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RandomExtensions.Tests", "tests\RandomExtensions.Tests\RandomExtensions.Tests.csproj", "{D2E46403-F887-41D2-9161-2E075F2F14E4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -40,11 +44,16 @@ Global
{46E939EF-0F65-4AF2-9902-471065E62B45}.Debug|Any CPU.Build.0 = Debug|Any CPU
{46E939EF-0F65-4AF2-9902-471065E62B45}.Release|Any CPU.ActiveCfg = Release|Any CPU
{46E939EF-0F65-4AF2-9902-471065E62B45}.Release|Any CPU.Build.0 = Release|Any CPU
{D2E46403-F887-41D2-9161-2E075F2F14E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D2E46403-F887-41D2-9161-2E075F2F14E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D2E46403-F887-41D2-9161-2E075F2F14E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D2E46403-F887-41D2-9161-2E075F2F14E4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{A030838F-567F-44FA-AA38-CFBF5BB13B9B} = {86D42D0B-BE8D-4BFC-83B7-75E4FB686114}
{559A732A-2261-42ED-9272-41D251833DF6} = {3973C834-D7F0-4FCB-A1B9-1474703D9DD0}
{B5DFC384-49F8-4593-BA66-8EF556293868} = {86D42D0B-BE8D-4BFC-83B7-75E4FB686114}
{46E939EF-0F65-4AF2-9902-471065E62B45} = {3973C834-D7F0-4FCB-A1B9-1474703D9DD0}
{D2E46403-F887-41D2-9161-2E075F2F14E4} = {F8776EC5-DF6E-4865-945F-E8E0D840E1A4}
EndGlobalSection
EndGlobal
8 changes: 5 additions & 3 deletions sandbox/ConsoleApp1/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using RandomExtensions;
using RandomExtensions.Linq;
using RandomExtensions.Linq;

Console.WriteLine(string.Join(':', RandomEnumerable.Repeat(0f, 10f, 100)));
foreach (var i in RandomEnumerable.Repeat(0L, 10000L, 100))
{
Console.WriteLine(i);
}
Loading

0 comments on commit e6f8908

Please sign in to comment.