(int index, int expectedLength)
| 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() |
nothing calls this directly
no test coverage detected