forked from foobnix/LibreraReader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTestSync.java
42 lines (29 loc) · 881 Bytes
/
TestSync.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com;
import com.foobnix.model.MyPath;
import com.foobnix.model.SimpleMeta;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class TestSync {
@Test
public void mergeMyPath() {
assertEquals("1",MyPath.toAbsolute("1"));
}
@Test
public void merge1() {
SimpleMeta s1 = new SimpleMeta("2", 2);
SimpleMeta s2 = new SimpleMeta("2", 3);
//assertEquals(s2, ExportConverter.merge(s1, s2));
}
@Test
public void merge2() {
SimpleMeta s1 = new SimpleMeta("2", 3);
SimpleMeta s2 = new SimpleMeta("2", 2);
//assertEquals(s1, ExportConverter.merge(s1, s2));
}
@Test
public void merge3() {
SimpleMeta s1 = new SimpleMeta("2", 2);
SimpleMeta s2 = new SimpleMeta("2", 2);
//assertEquals(s1, ExportConverter.merge(s1, s2));
}
}