Exemplo n.º 1
0
    public void Test_3x4()
    {
        solution = framework.GetSolution(3, 4);

        HintGenerator hg = new HintGenerator(3, 4, solution);

        hintList = hg.TestGenerateHintList();

        foreach (Hint hint in hintList)
        {
            UnityEngine.Debug.Log(hint.ToString());
        }

        Assert.True(true);
    }
Exemplo n.º 2
0
        public void Test_3x3HintList()
        {
            HintGenerator hints = new HintGenerator(3, 3, framework.GetSolution(3, 3));

            Assert.AreEqual(CalculateHintNumber(3, 3), hints.TestGenerateHintList().Count);                // 33
        }