You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: sla_test.go
    path of file: ./repos/easeprobe/report
    
    the code of the file until where you have to start completion: /*
 * Copyright (c) 2022, MegaEase
 * All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use t
    
func TestSLAFilter(t *testing.T) {
	probes := getProbers()
	probes[0].Result().Status = probe.StatusUp
	probes[1].Result().Status = probe.StatusDown
	probes[2].Result().Status = probe.StatusUp
	probes[3].Result().Status = probe.StatusDown
	setResultData(probes)

	html := SLAHTMLFilter(probes, nil)
	for _, p := range probes {
		assert.Contains(t, html, p.Name())
	}

	filter := NewEmptyFilter()
	html = SLAHTMLFilter(probes, filter)
	for _, p := range probes {
		assert.Contains(t, html, p.Name())
	}

	status := probe.StatusUp
	filter.Status = &status
	html = SLAHTMLFilter(probes, filter)
	assert.Contains(t, html, probes[0].Name())
	assert.NotContains(t, html, probes[1].Name())
	assert.Contains(t, html, probes[2].Name())
	assert.NotContains(t, html, probes[3].Name())

	// 80% SLA
	probes[0].Result().Stat.UpTime = 80
	probes[0].Result().Stat.DownTime = 20

	// 60% SLA
	probes[1].Result().Stat.UpTime = 60
	probes[1].Result().Stat.DownTime = 40

	// 40% SLA
	probes[2].Result().Stat.UpTime = 40
	probes[2].Result().Stat.DownTime = 60

	// 20% SLA
	probes[3].Result().Stat.UpTime = 20
	probes[3].Result().Stat.DownTime = 80

	setResultData(probes)

	// sla between 50 - 90, status is up
	filter.SLAGreater = 50
	filter.SLALess = 90
	html = SLAHTMLFilter(probes, filter)
	assert.Contains(t, html, probes[0].Name())
	assert.NotContains(t, html, probes[1].Name())
	assert.NotContains(t, html, probes[2].Name())
	assert.NotContains(t, html, probes[3].Name())

}