public TwoDimensionaArrayTest() { var random = new RandomDataReader() { MinArraySize = 10, MaxArraySize = 1000 }; data = ValueInterface <int[, ]> .ReadValue(random); json = JsonConvert.SerializeObject(data); }
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); }
public BaseRandomTest(RandomDataReader random) { data = ValueInterface <T> .ReadValue(random); json = ToJson(data); }