Пример #1
0
        public void ExecutableNameTest()
        {
            // Get executable name
            var executableName =
                (string)
                _powerSHAPE.GetType()
                .GetProperty("ExecutableName", BindingFlags.NonPublic | BindingFlags.Instance)
                .GetValue(_powerSHAPE, null);

            // Check that it's correct
            Assert.AreEqual("powershape", executableName.ToLower(), "Executable name is incorrect");
        }