Beispiel #1
0
        public void TechnologyGetTest()
        {
            // Arrange
            uint nItems = 3;
            TechnologySignature expected = TechnologySignature.ThermalWaxPrinter;

            using (var psd = ProfileSequenceDescriptor.Create(null, nItems))
            {
                ProfileSequenceItem item = psd[2];
                item.Technology = expected;

                // Act
                TechnologySignature actual = item.Technology;

                // Assert
                Assert.AreEqual(expected, actual);
            }
        }
Beispiel #2
0
        public void TechnologySetTest()
        {
            // Arrange
            uint nItems = 3;
            TechnologySignature expected = TechnologySignature.ProjectionTelevision;

            using (var psd = ProfileSequenceDescriptor.Create(null, nItems))
            {
                ProfileSequenceItem item = psd[1];

                // Act
                item.Technology = expected;

                // Assert
                TechnologySignature actual = item.Technology;
                Assert.AreEqual(expected, actual);
            }
        }
 private unsafe void SetTechnology(TechnologySignature value) => SeqDesc->technology = value;