blob: 9af36a2c2820e3a7a3fe54d7bd9f1fdbeab408e1 [file] [log] [blame]
/*******************************************************************************
* Copyright (C) 2010, Matthias Sohn <matthias.sohn@sap.com>
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
package org.eclipse.example.calc.internal.operations;
import static org.junit.Assert.assertEquals;
import org.eclipse.example.calc.Operation;
import org.junit.Before;
import org.junit.Test;
public class EqualsTest extends AbstractOperationTest {
private Operation op;
@Before
public void setUp() throws Exception {
op = new Equals();
}
@Test
public void testGetName() {
assertEquals(op.getName(), "=");
}
}