Skip to content

Commit

Permalink
Update Src/Fare.Benchmarking/Benchmark.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com>
  • Loading branch information
MagnusMikkelsen and moodmosaic committed Jun 30, 2020
1 parent b6a5527 commit c5df829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/Fare.Benchmarking/Benchmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ public class Benchmark
private readonly Random random = new Random();

[Benchmark]
public Xeger XegerCtorSimple() => new Xeger(Pattern);
public Xeger XegerCtorSimple() => new Xeger(".");

[Benchmark]
public Xeger XegerCtorInjectRandom() => new Xeger(Pattern, this.random);
}
}
}

0 comments on commit c5df829

Please sign in to comment.