@Test
	public final void testWork() {
		Task task;
//		int[] {Worked / Remaining}
		try {

			task = new Task(0, 1, 1);
			assertArrayEquals(new int[] {0,1}, new int[] {task.getMinutes_worked(), task.getMinutes_remaining()});

			task = new Task(0, 2, 1);
			task.work(0);
			assertArrayEquals(new int[] {1,0}, new int[] {task.getMinutes_worked(), task.getMinutes_remaining()});
			
			task = new Task(0, 2, 2);
			assertArrayEquals(new int[] {0,2}, new int[] {task.getMinutes_worked(), task.getMinutes_remaining()});
			
			task = new Task(0, 2, 2);
			task.work(0);
			task.work(1);
			assertArrayEquals(new int[] {2,0}, new int[] {task.getMinutes_worked(), task.getMinutes_remaining()});
			
			
		} catch (TaskCompleted e) {
			e.printStackTrace();
		}
	}