This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var devices = this.ToXTypedElementBooking(); | |
| var devicePairs = this.EnumerateAllDevicePairs().ToArray(); | |
| var xmlData = new IGEXAO_PIN_BOOKING() | |
| { | |
| Device = this.ConnectorPairsByTag | |
| .SelectMany(connectorPair => | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import unittest | |
| import solution | |
| import random | |
| class RandomListOfNumbers: | |
| def __init__(self): | |
| self.numbers = [random.randint(1, 1000) | |
| for x in range(random.randint(1, 10))] |