Beispiel #1
0
    public void TargetFactory_GetInstance_Test()
    {
        // Setup
        TargetFactory tf       = new TargetFactory();
        GameObject    instance = tf.GetInstance(new GameObject("Target"));

        // Confirm the instance was return
        Debug.Log(instance.name);
        Assert.AreEqual("Target(Clone)", instance.name);
    }