Skip to content

Commit 7ed6983

Browse files
committed
Fix typos in tile clear benchmark
1 parent 9e5c5c6 commit 7ed6983

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

TerrariaServerAPI.Tests/Benchmarks/TileClearBenchmarks.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,26 @@ protected override void OnSetup()
3636
}
3737

3838
[Benchmark(Baseline = true), Test]
39-
public void Use_Stock() => Use(_stock);
39+
public void Clear_Stock() => Clear(_stock);
4040

4141
[Benchmark, Test]
42-
public void Use_Heap() => Use(_heap);
42+
public void Clear_Heap() => Clear(_heap);
4343

4444
[Benchmark, Test]
45-
public void Use_Constileation() => Use(_const);
45+
public void Clear_Constileation() => Clear(_const);
4646

4747
#if TILED_PLUGIN
4848
[Benchmark, Test]
49-
public void Use_1d() => Use(_1d);
49+
public void Clear_1d() => Clear(_1d);
5050

5151
[Benchmark, Test]
52-
public void Use_2d() => Use(_2d);
52+
public void Clear_2d() => Clear(_2d);
5353

5454
[Benchmark, Test]
55-
public void Use_Struct() => Use(_struct);
55+
public void Clear_Struct() => Clear(_struct);
5656
#endif
5757

58-
public void Use(ICollection<ITile> provider)
58+
public void Clear(ICollection<ITile> provider)
5959
{
6060
for (int x = 0; x < Main.maxTilesX; x++)
6161
for (int y = 0; y < Main.maxTilesY; y++)

0 commit comments

Comments
 (0)