MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / TestTempNameGeneration

Method TestTempNameGeneration

test/UtilityTests.cs:32–43  ·  view source on GitHub ↗
(int index, int expectedLength)

Source from the content-addressed store, hash-verified

30 }
31
32 [Theory]
33 [InlineData(10, 1)]
34 [InlineData(100, 1)]
35 [InlineData(0, 1)]
36 [InlineData(30000, 2)]
37 [InlineData(50000, 2)]
38 [InlineData(10000000, 3)]
39 public void TestTempNameGeneration(int index, int expectedLength)
40 {
41 string result = Utility.tempNameForIndex(index, "");
42 Assert.Equal(result.Length, expectedLength);
43 }
44
45 [Fact]
46 public void RemoveByteOrderMarkerIfPresent()

Callers

nothing calls this directly

Calls 1

tempNameForIndexMethod · 0.80

Tested by

no test coverage detected