public unsafe void Peek_Item_Success() { var expected = new TestStruct() { X = 3, Y = 1 }; FixedQueue <TestStruct> sut = stackalloc TestStruct[1]; sut.Enqueue(expected); var testStruct = sut.Peek(); Assert.AreEqual(1, sut.Count); Assert.AreEqual(3, testStruct.X); Assert.AreEqual(1, testStruct.Y); }