void FloatTests()
    {
        FileBasedPrefs.SetFloat("test", 1);

        if (!FileBasedPrefs.GetFloat("test").Equals(1))
        {
            Debug.LogException(new System.Exception("SetFloatFailed"));
            return;
        }

        FileBasedPrefs.SetFloat("test", 2);

        if (!FileBasedPrefs.GetFloat("test").Equals(2))
        {
            Debug.LogException(new System.Exception("ReplaceFloatFailed"));
            return;
        }

        if (!FileBasedPrefs.HasKeyForFloat("test"))
        {
            Debug.LogException(new System.Exception("HasKeyForFloatFailed"));
            return;
        }

        FileBasedPrefs.DeleteFloat("test");

        if (!FileBasedPrefs.GetFloat("test").Equals(0))
        {
            Debug.LogException(new System.Exception("DeleteFloatFailed"));
            return;
        }

        FileBasedPrefs.SetFloat("test", 333.333f);

        if (!FileBasedPrefs.GetFloat("test").Equals(333.333f))
        {
            Debug.LogException(new System.Exception("ReplaceFloatFailed"));
            return;
        }

        Debug.Log("Float Tests Passed");
    }