示例#1
0
        public void HandleToProcessId()
        {
            // Arrange
            var processHandle = Resources.MemorySharp.Handle;

            // Act
            var ret = HandleManipulator.HandleToProcessId(processHandle);

            // Assert
            Assert.AreEqual(Resources.ProcessTest.Id, ret, "The both process id are not equal.");
        }