@Test
  public void testSevere() {
    testHelper(
        ImmutableMap.of(Constants.WORKER_JOB_NAME, new double[]{
            6.5e9,
            6.6e9,
        }, Constants.PS_JOB_NAME, new double[]{5.84e9}),
        ImmutableMap.of(Constants.WORKER_JOB_NAME, "10g", Constants.PS_JOB_NAME, "10g"),
        Severity.SEVERE,
        Severity.MODERATE.getValue() * 2 /* workers */ + Severity.SEVERE.getValue() * 1
    );
  }
10g workers requested, max worker memory < 70%; 10g ps requested, max ps memory < 60%
test/com/linkedin/drelephant/tony/heuristics/TaskMemoryHeuristicTest.java