public void UpdatePlantBiomassEmptyDictionary()
    {
        BiomeGrid bg = new BiomeGrid();

        bg.UpdatePlantBiomass();
        Assert.IsEqual(0.0f, bg.GetPlantBiomassArray()[0], "Then it passes");
    }
    public void UpdatePlantBiomassOneElementDictionaryFractions()
    {
        float     Y  = 0.3f;
        BiomeGrid bg = new BiomeGrid();

        BiomeGrid.GroundTile tile = new BiomeGrid.GroundTile();
        tile.plantSpatial       = new Spatial();
        tile.plantSpatial.Scale = new Vector3(Y, 0, 0);
        tile.hasPlant           = true;
        bg.GetGroundTiles().Add(new Vector3(0, 0, 0), tile);
        bg.UpdatePlantBiomass();
        Assert.IsEqual(0.3f, bg.GetPlantBiomassArray()[0], "Then it passes");
    }
    public void UpdatePlantBiomassMultiElementDictionaryFractions()
    {
        int       X  = 3;
        float     Y  = 0.3f;
        float     Z  = 0.3f + 0.3f + 0.3f;
        BiomeGrid bg = new BiomeGrid();

        for (int i = 0; i < X; i++)
        {
            BiomeGrid.GroundTile tile = new BiomeGrid.GroundTile();
            tile.plantSpatial       = new Spatial();
            tile.plantSpatial.Scale = new Vector3(Y, 0, 0);
            tile.hasPlant           = true;
            bg.GetGroundTiles().Add(new Vector3(i, 0, 0), tile);
        }
        bg.UpdatePlantBiomass();
        Assert.IsEqual(Z, bg.GetPlantBiomassArray()[0], "Then it passes");
    }