private void assertDataStringNotInScalarTable() {

		ScalarSearchModel model = provider.getScalarModel();
		waitForTableModel(model);

		List<ScalarRowObject> data = model.getModelData();

		for (ScalarRowObject rowObject : data) {
			Address codeUnitAddress = rowObject.getAddress();
			if (codeUnitAddress.toString().equals(DATA_STRING_ADDRESS)) {
				Data stringData = program.getListing().getDataAt(codeUnitAddress);
				fail("Table not created correctly: found the occurrence of data string " +
					stringData.getValue().toString() + " at address: " + codeUnitAddress);
			}
		}
	}
Function for the case when the min is greater than the max.
In this case, the program expects for there to be 0 entries in the scalar table.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/scalartable/ScalarSearchTest.java