### Question:
FactPartitionBasedQueryCost implements QueryCost<FactPartitionBasedQueryCost>, Serializable { @Override public double getEstimatedResourceUsage() { return partitionCost; } FactPartitionBasedQueryCost(final double partitionCost); @Override FactPartitionBasedQueryCost add(final FactPartitionBasedQueryCost other); @Override long getEstimatedExecTimeMillis(); @Override double getEstimatedResourceUsage(); @Override int compareTo(final FactPartitionBasedQueryCost o); @Override String toString();  }### Answer:
@Test public void testGetEstimatedResourceUsage() throws Exception { assertEquals(cost1.getEstimatedResourceUsage(), 0.2); }