Beispiel #1
0
 @Test
 public void case129() {
   String ID = "47602500";
   assertEquals(1, lotterycheating.minimalChange(ID));
 }
Beispiel #2
0
 @Test
 public void case162() {
   String ID = "166";
   assertEquals(1, lotterycheating.minimalChange(ID));
 }
Beispiel #3
0
 @Test
 public void case164() {
   String ID = "1073938441";
   assertEquals(0, lotterycheating.minimalChange(ID));
 }
Beispiel #4
0
 @Test
 public void case157() {
   String ID = "7958803495";
   assertEquals(5, lotterycheating.minimalChange(ID));
 }
Beispiel #5
0
 @Test
 public void case159() {
   String ID = "9997733333";
   assertEquals(5, lotterycheating.minimalChange(ID));
 }
Beispiel #6
0
 @Test
 public void case152() {
   String ID = "512295961";
   assertEquals(2, lotterycheating.minimalChange(ID));
 }
Beispiel #7
0
 @Test
 public void case155() {
   String ID = "999800001";
   assertEquals(3, lotterycheating.minimalChange(ID));
 }
Beispiel #8
0
 @Test
 public void case140() {
   String ID = "05129";
   assertEquals(1, lotterycheating.minimalChange(ID));
 }
Beispiel #9
0
 @Test
 public void case141() {
   String ID = "6298778321";
   assertEquals(2, lotterycheating.minimalChange(ID));
 }
Beispiel #10
0
 @Test
 public void case135() {
   String ID = "9399759793";
   assertEquals(5, lotterycheating.minimalChange(ID));
 }
Beispiel #11
0
 @Test
 public void case138() {
   String ID = "1234567897";
   assertEquals(4, lotterycheating.minimalChange(ID));
 }
Beispiel #12
0
 @Test
 public void case134() {
   String ID = "5599008971";
   assertEquals(4, lotterycheating.minimalChange(ID));
 }
Beispiel #13
0
 @Test
 public void case132() {
   String ID = "6384795177";
   assertEquals(5, lotterycheating.minimalChange(ID));
 }
Beispiel #14
0
 @Test
 public void case130() {
   String ID = "99634680";
   assertEquals(4, lotterycheating.minimalChange(ID));
 }
Beispiel #15
0
 @Test
 public void case150() {
   String ID = "9562748977";
   assertEquals(4, lotterycheating.minimalChange(ID));
 }
Beispiel #16
0
 @Test
 public void case142() {
   String ID = "9876542298";
   assertEquals(5, lotterycheating.minimalChange(ID));
 }
Beispiel #17
0
 @Test
 public void case151() {
   String ID = "7889975444";
   assertEquals(3, lotterycheating.minimalChange(ID));
 }
Beispiel #18
0
 @Test
 public void case144() {
   String ID = "165487";
   assertEquals(3, lotterycheating.minimalChange(ID));
 }
Beispiel #19
0
 @Test
 public void case153() {
   String ID = "36";
   assertEquals(0, lotterycheating.minimalChange(ID));
 }
Beispiel #20
0
 @Test
 public void case145() {
   String ID = "52399025";
   assertEquals(2, lotterycheating.minimalChange(ID));
 }
Beispiel #21
0
 @Test
 public void case156() {
   String ID = "3221225473";
   assertEquals(3, lotterycheating.minimalChange(ID));
 }
Beispiel #22
0
 @Test
 public void case146() {
   String ID = "0000121";
   assertEquals(0, lotterycheating.minimalChange(ID));
 }
Beispiel #23
0
 @Test
 public void case158() {
   String ID = "9998200081";
   assertEquals(0, lotterycheating.minimalChange(ID));
 }
Beispiel #24
0
 @Test
 public void case147() {
   String ID = "3124657493";
   assertEquals(4, lotterycheating.minimalChange(ID));
 }
Beispiel #25
0
 @Test
 public void case161() {
   String ID = "7127361263";
   assertEquals(4, lotterycheating.minimalChange(ID));
 }
Beispiel #26
0
 @Test
 public void case148() {
   String ID = "7207653577";
   assertEquals(5, lotterycheating.minimalChange(ID));
 }
Beispiel #27
0
 @Test
 public void case163() {
   String ID = "1111111112";
   assertEquals(4, lotterycheating.minimalChange(ID));
 }
Beispiel #28
0
 @Test
 public void case149() {
   String ID = "1225244683";
   assertEquals(3, lotterycheating.minimalChange(ID));
 }
Beispiel #29
0
 @Test
 public void case165() {
   String ID = "7427466391";
   assertEquals(4, lotterycheating.minimalChange(ID));
 }
Beispiel #30
0
 @Test
 public void case128() {
   String ID = "0519934597";
   assertEquals(4, lotterycheating.minimalChange(ID));
 }