WIP update for migration runner

This commit is contained in:
Robin Bygrave committed 2016-02-10 20:51:55 +13:00
1 parent 12e6c0b139
commit 84fa373728
5 files changed
+104 -13

No files matched your search

@@ -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);
}
}