Esempio n. 1
0
        public TwoDimensionaArrayTest()
        {
            var random = new RandomDataReader()
            {
                MinArraySize = 10, MaxArraySize = 1000
            };

            data = ValueInterface <int[, ]> .ReadValue(random);

            json = JsonConvert.SerializeObject(data);
        }
Esempio n. 2
0
        public DictionaryTest()
        {
            var random = new RandomDataReader();

            data = new Dictionary <string, CommonData>
            {
                { ValueInterface <string> .ReadValue(random), new CommonModeText().GetData() },
                { ValueInterface <string> .ReadValue(random), new CommonModeText().GetData() },
                { ValueInterface <string> .ReadValue(random), new CommonModeText().GetData() },
                { ValueInterface <string> .ReadValue(random), new CommonModeText().GetData() },
                { ValueInterface <string> .ReadValue(random), new CommonModeText().GetData() },
            };

            json = JsonConvert.SerializeObject(data);
        }
Esempio n. 3
0
        public BaseRandomTest(RandomDataReader random)
        {
            data = ValueInterface <T> .ReadValue(random);

            json = ToJson(data);
        }