@Test public void shouldReturnPositiveValue() { negOperation = new NEG(new CASNumber(-3)); assertEquals(3, negOperation.getValue()); }
@Test public void shouldReturnNegativeValue() { negOperation = new NEG(new CASNumber(5)); assertEquals(-5, negOperation.getValue()); }