mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
WIP update for migration runner
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.avaje.ebean.dbmigration.runner;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
public class ChecksumTest {
|
||||
|
||||
@Test
|
||||
public void test_calculate() throws Exception {
|
||||
|
||||
int checkFoo = Checksum.calculate("foo");
|
||||
|
||||
assertThat(Checksum.calculate("foo")).isEqualTo(checkFoo);
|
||||
assertThat(Checksum.calculate("Foo")).isNotEqualTo(checkFoo);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user