Exemplo n.º 1
0
    private void SetTestData()
    {
        string[] vocabDetails = DbCommands.GetRandomTupleFromTable("DiscoveredVocab", "WHERE SaveIDs = 0");
        Debug.Log("working 2");
        string[] vocabKey = new string[2];
        vocabKey[0] = vocabDetails[0];
        vocabKey[1] = vocabDetails[1];
        vocab       = vocabKey;
        System.Random rnd = new System.Random();
        int           num = rnd.Next(0, 1);

        testType = (num < 1) ? TestType.read : TestType.write;
    }