function assertGridSettings(oGrid, oSettings, sLayout, assert) {
		var oGridStyle = oGrid.getDomRef("listUl").style,
			sColumnsTemplate,
			sExpectedColumnsTemplate,
			sColumnSize = oSettings.getColumnSize(),
			sMinColumnSize = oSettings.getMinColumnSize(),
			sMaxColumnSize = oSettings.getMaxColumnSize(),
			bColumnsDoMatch;

		// compare columns template
		sColumnsTemplate = oGridStyle.getPropertyValue("grid-template-columns");

		if (sMinColumnSize && sMaxColumnSize) {
			sColumnSize = "minmax(" + sMinColumnSize + ", " + sMaxColumnSize + ")";
		}
		sExpectedColumnsTemplate = "repeat(" + (oSettings.getColumns() || "auto-fill") + ", " + sColumnSize + ")";

		bColumnsDoMatch = sColumnsTemplate === sExpectedColumnsTemplate;

		if (!bColumnsDoMatch && oSettings.getColumns()) {
			// try with computed css which looks like "80px 80px 80px ..."
			sExpectedColumnsTemplate = (sColumnSize + " ").repeat(oSettings.getColumns()).trim();
			bColumnsDoMatch = sColumnsTemplate === sExpectedColumnsTemplate;
		}
		assert.ok(bColumnsDoMatch, "Grid has expected column template settings for layout '" + sLayout + "'");

		// compare rows
		assert.strictEqual(oGridStyle.getPropertyValue("grid-auto-rows"), oSettings.getRowSize(), "Grid has expected row size for '" + sLayout + "'");

		// test row-gap and column-gap, because grid-gap can not be tested directly
		assert.strictEqual(oGridStyle.getPropertyValue("grid-row-gap") || oGridStyle.getPropertyValue("row-gap"), oSettings.getGap(), "Grid has expected row gap for '" + sLayout + "'");
		assert.strictEqual(oGridStyle.getPropertyValue("grid-column-gap") || oGridStyle.getPropertyValue("column-gap"), oSettings.getGap(), "Grid has expected column gap for '" + sLayout + "'");
	}
Test if grid settings are applied to the grid in DOM

@param {sap.f.GridContainer} oGrid The grid
@param {sap.f.GridContainerSettings} oSettings Expected settings
@param {string} sLayout Layout under test
@param {Assert} assert Assert