package sim.scheduling.graders;

import static org.junit.Assert.*;
import static org.mockito.Mockito.*;

import org.junit.Test;

import sim.model.Host;

public class AvailableCoresGraderTest
{

	@Test
	public void test()
	{
		Host host = mock(Host.class);
		when(host.availableCores()).thenReturn(8.0);
		assertEquals(8.0, new AvailableCoresGrader().getGrade(host, null), 0.1);
	}

}

@@ -375,10 +375,120 @@
 1);%0A%09%7D%0A%0A
+%09@Test%0A%09public void testToString()%0A%09%7B%0A%09%09assertFalse(new AvailableCoresGrader().toString().contains(%22@%22));%0A%09%7D%0A%0A
 %7D%0A

fix coverage