示例#1
0
    public void ShouldGetRingBufferPaddingEventCount(int eventSize, int expectedPadding)
    {
        var padding = InternalUtil.GetRingBufferPaddingEventCount(eventSize);

        Assert.AreEqual(expectedPadding, padding);
        Assert.GreaterOrEqual(padding * eventSize, 128);
    }