Skip to content
Snippets Groups Projects
Commit 0389aebe authored by Bernhard Johannes Berger's avatar Bernhard Johannes Berger
Browse files

Added real test cases.

parent abdcc073
No related branches found
No related tags found
No related merge requests found
Pipeline #238754 passed
package de.evoal.core.api.board;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
public class BlackboardEntryTest {
@Test
public void testEquals() {
public void testIsSameToItself() {
final BlackboardEntry e1 = BlackboardEntry.of("example");
Assertions.assertTrue(e1.isSame("example"));
}
@Test
public void testIsSameWithDifferentLabel() {
final BlackboardEntry e1 = BlackboardEntry.of("example");
Assertions.assertFalse(e1.isSame("example2"));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment