Here are the examples of the java api @org.junit.Test taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
688011 Examples
19
Source : InternationalizationApplicationTests.java
with MIT License
from zzzzbw
with MIT License
from zzzzbw
@Test
public void contextLoads() {
}
19
Source : UserServiceTests.java
with MIT License
from zzzzbw
with MIT License
from zzzzbw
@Test
public void test2() {
boolean result = userService.resetUser("fame", "fame", "[email protected]");
log.info("{}", result);
}
19
Source : UserServiceTests.java
with MIT License
from zzzzbw
with MIT License
from zzzzbw
@Test
public void test1() {
log.info("{}", userService.login("fame", "123456"));
}
19
Source : MetaServiceTests.java
with MIT License
from zzzzbw
with MIT License
from zzzzbw
@Test
public void test1() {
categoryService.save("testCategory");
}
19
Source : MetaServiceTests.java
with MIT License
from zzzzbw
with MIT License
from zzzzbw
@Test
public void test3() {
}
19
Source : LogServiceTests.java
with MIT License
from zzzzbw
with MIT License
from zzzzbw
@Test
public void test1() {
Page<Log> page = logService.getLogs(0, 10);
log.info("{}", page);
}
19
Source : CommentServiceTests.java
with MIT License
from zzzzbw
with MIT License
from zzzzbw
@Test
public void test3() {
log.info("{}", commentService.getCommentDetail(2));
}
19
Source : CommentServiceTests.java
with MIT License
from zzzzbw
with MIT License
from zzzzbw
@Test
public void test4() {
commentService.deleteComment(2);
}
19
Source : CommentServiceTests.java
with MIT License
from zzzzbw
with MIT License
from zzzzbw
@Test
public void test2() {
Page<Comment> result = commentService.getCommentsByArticleId(1, 10, 1);
log.info("{}", Pagination.of(result));
}
19
Source : ExampleUnitTest.java
with GNU General Public License v3.0
from zzzmobile
with GNU General Public License v3.0
from zzzmobile
@Test
public void addition_isCorrect() throws Exception {
replacedertEquals(4, 2 + 2);
}
19
Source : UtilTest.java
with Apache License 2.0
from zzzming
with Apache License 2.0
from zzzming
@Test
public void testGetRemainingTimeout() {
fail("Not yet implemented");
}
19
Source : UtilTest.java
with Apache License 2.0
from zzzming
with Apache License 2.0
from zzzming
@Test
public void testSleepMilliseconds() {
fail("Not yet implemented");
}
19
Source : UtilTest.java
with Apache License 2.0
from zzzming
with Apache License 2.0
from zzzming
@Test
public void testIsTimedOut() {
fail("Not yet implemented");
}
19
Source : UtilTest.java
with Apache License 2.0
from zzzming
with Apache License 2.0
from zzzming
@Test
public void testGetPid() {
fail("Not yet implemented");
}
19
Source : ActorTest.java
with Apache License 2.0
from zzzming
with Apache License 2.0
from zzzming
@Test
public void testSendAndReceive2() throws InterruptedException {
final String ACTOR3 = "actor3";
SimpleActor actor3 = new SimpleActor(ACTOR3);
String fromActor2 = "hellofromactor2";
actor2.send(ACTOR3, fromActor2);
TimeUnit.MILLISECONDS.sleep(1);
log(actor3.getReceivedMsg() + " " + Pid.getInstance().getActorSize());
replacedertTrue(fromActor2.equals(actor3.getReceivedMsg()));
replacedert (actor2.getPid().equals(actor3.getSender()));
}
19
Source : ActorTest.java
with Apache License 2.0
from zzzming
with Apache License 2.0
from zzzming
@Test
public void testSendAndReceive() throws InterruptedException {
String fromActor1 = "hellofromactor1";
actor1.send(ACTOR2, fromActor1);
TimeUnit.MILLISECONDS.sleep(1);
log(actor2.getReceivedMsg() + " " + Pid.getInstance().getActorSize());
replacedertTrue(fromActor1.equals(actor2.getReceivedMsg()));
replacedert (actor1.getPid().equals(actor2.getSender()));
}
19
Source : SpringELTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void template() {
Tmp rootObject = new Tmp(1, "asd");
StandardEvaluationContext context = new StandardEvaluationContext(rootObject);
long value = parser.parseExpression("#tmp = a").getValue(context, Integer.clreplaced);
replacedert.replacedertEquals(value, 1L);
replacedert.replacedertEquals(parser.parseExpression("b").getValue(context, String.clreplaced), "asd");
}
19
Source : SpringELTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void clreplacedVar() throws Exception {
StandardEvaluationContext context = new StandardEvaluationContext();
Clreplaced testClreplaced = parser.parseExpression("T(String[])").getValue(context, Clreplaced.clreplaced);
replacedert.replacedertEquals(testClreplaced, String[].clreplaced);
}
19
Source : SpringELTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void selection() throws Exception {
Iterable<Integer> it = () -> new Iterator<Integer>() {
private int[] a = new int[] { 1, 2, 3 };
private int index = 0;
@Override
public boolean hasNext() {
return index < a.length;
}
@Override
public Integer next() {
return a[index++];
}
};
Tmp tmp = new Tmp();
tmp.setO(it);
StandardEvaluationContext context = new StandardEvaluationContext(tmp);
ArrayList<Integer> list = parser.parseExpression("o.?[true]").getValue(context, ArrayList.clreplaced);
replacedert.replacedertEquals(list, Lists.newArrayList(1, 2, 3));
}
19
Source : SpringELTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void spaceTest() {
String value = parser.parseExpression(" 'test' ").getValue(String.clreplaced);
replacedert.replacedertEquals(value, "test");
}
19
Source : NetworkUtilTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void ipToInt() {
String h1 = "0.0.0.1";
long l1 = NetworkUtil.ipToLong(h1);
replacedertEquals(l1, 0x1L);
String h2 = "192.168.1.100";
long l2 = NetworkUtil.ipToLong(h2);
replacedertEquals(l2, 0xc0a80164L);
}
19
Source : NetworkUtilTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void toIp() throws Exception {
String host = "192.168.1.100";
String s = NetworkUtil.toIp(host);
replacedertEquals(s, host);
}
19
Source : MongoV4MasterConnectorTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void int64Id() {
// 9007199254740993
long v = ((long) Math.pow(2, 53)) + 1;
replacedertNotEquals(v, (double) v);
BsonDoreplacedent key = new BsonDoreplacedent(ID, new BsonInt64(v));
Object o = gson.fromJson(key.toJson(JsonWriterSettings.builder().objectIdConverter((value, writer) -> writer.writeString(value.toHexString())).build()), Map.clreplaced).get(ID);
replacedertNotEquals(v, o);
}
19
Source : DocTimestampTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void compareTo() {
DocTimestamp b_e = DocTimestamp.earliest;
DocTimestamp b_l = DocTimestamp.latest;
DocTimestamp b__l = DocTimestamp.latest;
DocTimestamp b0 = new DocTimestamp(new BsonTimestamp(0));
DocTimestamp b1 = new DocTimestamp(new BsonTimestamp(1));
DocTimestamp b2 = new DocTimestamp(new BsonTimestamp(2));
DocTimestamp b_b = new DocTimestamp(new BsonTimestamp((int) (System.currentTimeMillis() / 1000) - 1, 0));
DocTimestamp bc = new DocTimestamp(new BsonTimestamp((int) (System.currentTimeMillis() / 1000) + 1, 0));
replacedertEquals(b_e.compareTo(b0), -1);
replacedertEquals(b_l.compareTo(b_b), 1);
replacedertEquals(b_l.compareTo(bc), -1);
replacedertEquals(b_e.compareTo(b_l), -1);
replacedertEquals(b_l.compareTo(b__l), 0);
replacedertEquals(b0.compareTo(b2), -1);
replacedertEquals(b1.compareTo(b2), -1);
replacedertEquals(b2.compareTo(b0), 1);
replacedertEquals(b2.compareTo(bc), -1);
}
19
Source : SQLMapperTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void delete() {
String expected = ParameterReplace.orderedParam(DELETE_FROM_WHERE_ID, "test", "table", "1");
replacedert.replacedertEquals("delete from `test`.`table` where id = 1", expected);
}
19
Source : SQLMapperTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void updateByWhere() {
String expected = ParameterReplace.orderedParam(UPDATE_SET_WHERE, "test", "table", "id = 1", "replacedle='?2'");
replacedert.replacedertEquals("update `test`.`table` set replacedle='?2' where id = 1", expected);
}
19
Source : SQLMapperTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void updateById() {
String expected = ParameterReplace.orderedParam(UPDATE_SET_WHERE_ID, "test", "table", "1", "replacedle='?2'");
replacedert.replacedertEquals("update `test`.`table` set replacedle='?2' where id = 1", expected);
}
19
Source : SQLMapperTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void insert() {
String expected = ParameterReplace.orderedParam(INSERT_INTO_VALUES, "test", "table", "replacedle", "'?4'", "id", "id");
replacedert.replacedertEquals("insert into `test`.`table` (replacedle) values ('?4') ON DUPLICATE KEY UPDATE id=id", expected);
}
19
Source : NettyClientTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void write() throws InterruptedException {
boolean post = nettyClient.write(HttpMethod.POST, TEST_NETTY_CLIENT, "{\"foo\":\"bar\"}");
boolean put = nettyClient.write(HttpMethod.PUT, TEST_NETTY_CLIENT, "{\"b\":\"c\"}");
boolean delete = nettyClient.write(HttpMethod.DELETE, TEST_NETTY_CLIENT, "{\"d\":4}");
replacedert.replacedertTrue(post);
replacedert.replacedertTrue(put);
replacedert.replacedertTrue(delete);
}
19
Source : ESRequestMapperTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void mergeToListById() throws Exception {
innerMergeToListById();
}
19
Source : ESRequestMapperTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void nestedByParentId() throws Exception {
innerNestedByParentId();
}
19
Source : ESRequestMapperTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void nestedByQuery() throws Exception {
innerNestedByQuery();
}
19
Source : ESRequestMapperTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void setFieldNull() throws Exception {
innerSetFieldNull();
}
19
Source : ESRequestMapperTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void mergeToList() throws Exception {
innerMergeToList();
}
19
Source : ESRequestMapperTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void nestedByParentQuery() throws Exception {
innerNestedByParentQuery();
}
19
Source : ElasticsearchJavaAPIScriptTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void toStr() throws Exception {
UpdateRequest request = new UpdateRequest("test", "type1", "1").script(mockInlineScript("ctx._source.body = \"foo\""));
replacedert.replacedertEquals(ElasticsearchChannel.toString(request), "update {[test][type1][1], script[Script{type=inline, lang='mock', idOrCode='ctx._source.body = \"foo\"', options={}, params={}}], detect_noop[true]}");
request = new UpdateRequest("test", "type1", "1").fromXContent(createParser(JsonXContent.jsonXContent, new BytesArray("{\"doc\": {\"body\": \"bar\"}}")));
replacedert.replacedertEquals(ElasticsearchChannel.toString(request), "update {[test][type1][1], doc[index {[null][null][null], source[{\"body\":\"bar\"}]}], detect_noop[true]}");
}
19
Source : JavaMethodTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void build() {
SyncFilter searcher = JavaMethod.build("searcher", new SyncerFilterMeta(), " public void filter(List<SyncData> list) {\n" + " for (SyncData d : list) {\n" + " replacedert d.getEventId().equals(\"123/1\");\n" + " }\n" + " }\n");
searcher.filter(Lists.newArrayList(data));
}
19
Source : FileBasedMapTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void testFlushFirstTime() throws Exception {
BinlogDataId _115 = getFromString("mysql-bin.000115/1234360405/139/0");
firstTime.append(_115, 2);
firstTime.flush();
BinlogDataId s = getFromString(firstTime.readData().toDataStr());
replacedert.replacedertEquals(s, _115);
firstTime.remove(_115, 1);
BinlogDataId _116 = getFromString("mysql-bin.000116/1305/139/0");
firstTime.append(_116, 1);
firstTime.flush();
s = getFromString(firstTime.readData().toDataStr());
replacedert.replacedertEquals(s, _115);
firstTime.remove(_115, 1);
s = getFromString(firstTime.readData().toDataStr());
replacedert.replacedertEquals(s, _115);
firstTime.flush();
s = getFromString(firstTime.readData().toDataStr());
replacedert.replacedertEquals(s, _116);
firstTime.remove(_116, 1);
BinlogDataId _117 = getFromString("mysql-bin.000117/1305/13/0");
firstTime.append(_117, 1);
firstTime.flush();
s = getFromString(firstTime.readData().toDataStr());
replacedert.replacedertEquals(s, _117);
}
19
Source : FileBasedMapTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void testLastRemovedFirstTime() throws IOException {
BinlogDataId _115 = getFromString("mysql-bin.000115/1234360405/139/0");
firstTime.append(_115, 2);
firstTime.remove(_115, 2);
firstTime.flush();
BinlogDataId s = getFromString(firstTime.readData().toDataStr());
replacedert.replacedertEquals(s, _115);
}
19
Source : FileBasedMapTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void testStringCompareFirstTime() throws IOException {
BinlogDataId _2 = getFromString("mysql-bin.000003/801814/478003/2");
firstTime.append(_2, 1);
BinlogDataId _3 = getFromString("mysql-bin.000003/801814/478003/3");
firstTime.append(_3, 1);
firstTime.flush();
BinlogDataId s = getFromString(firstTime.readData().toDataStr());
replacedert.replacedertEquals(_2, s);
firstTime.remove(_3, 1);
firstTime.flush();
s = getFromString(firstTime.readData().toDataStr());
replacedert.replacedertEquals(_2, s);
BinlogDataId _10 = getFromString("mysql-bin.000003/1001814/478003/0");
firstTime.append(_10, 1);
firstTime.flush();
s = getFromString(firstTime.readData().toDataStr());
replacedert.replacedertEquals(_2, s);
}
19
Source : FileBasedMapTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void testToString() {
replacedert.replacedertEquals("FileBasedMap{path=LocalMetaFile{path=src/test/resources/FileBasedMapTest}, lastRemoved=null, map={}}", notFirstTime.toString());
}
19
Source : FileBasedMapTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void testLastRemoved() throws IOException {
BinlogDataId _115 = getFromString("mysql-bin.000115/1234360405/139/0");
notFirstTime.append(_115, 2);
notFirstTime.remove(_115, 2);
notFirstTime.flush();
BinlogDataId s = getFromString(notFirstTime.readData().toDataStr());
replacedert.replacedertEquals(s, _115);
}
19
Source : FileBasedMapTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void testFlush() throws Exception {
BinlogDataId _115 = getFromString("mysql-bin.000115/1234360405/139/0");
notFirstTime.append(_115, 2);
notFirstTime.flush();
BinlogDataId s = getFromString(notFirstTime.readData().toDataStr());
replacedert.replacedertEquals(s, _115);
notFirstTime.remove(_115, 1);
BinlogDataId _116 = getFromString("mysql-bin.000116/1305/139/0");
notFirstTime.append(_116, 1);
notFirstTime.flush();
s = getFromString(notFirstTime.readData().toDataStr());
replacedert.replacedertEquals(s, _115);
notFirstTime.remove(_115, 1);
s = getFromString(notFirstTime.readData().toDataStr());
replacedert.replacedertEquals(s, _115);
notFirstTime.flush();
s = getFromString(notFirstTime.readData().toDataStr());
replacedert.replacedertEquals(s, _116);
notFirstTime.remove(_116, 1);
BinlogDataId _117 = getFromString("mysql-bin.000117/1305/13/0");
notFirstTime.append(_117, 1);
notFirstTime.flush();
s = getFromString(notFirstTime.readData().toDataStr());
replacedert.replacedertEquals(s, _117);
}
19
Source : FileBasedMapTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void testStringCompare() throws IOException {
BinlogDataId _2 = getFromString("mysql-bin.000003/801814/478003/2");
notFirstTime.append(_2, 1);
BinlogDataId _3 = getFromString("mysql-bin.000003/801814/478003/3");
notFirstTime.append(_3, 1);
notFirstTime.flush();
BinlogDataId s = getFromString(notFirstTime.readData().toDataStr());
replacedert.replacedertEquals(_2, s);
notFirstTime.remove(_3, 1);
notFirstTime.flush();
s = getFromString(notFirstTime.readData().toDataStr());
replacedert.replacedertEquals(_2, s);
BinlogDataId _10 = getFromString("mysql-bin.000003/1001814/478003/0");
notFirstTime.append(_10, 1);
notFirstTime.flush();
s = getFromString(notFirstTime.readData().toDataStr());
replacedert.replacedertEquals(_2, s);
}
19
Source : SyncUtilTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void testRename() {
HashMap<String, Object> row = new HashMap<>();
row.put("a_pub", "1");
row.put("bPub", "1");
row.put("c_p_ub", "1");
row.put("d_p_ub_", "1");
row.put("e_p_u_b", "1");
row.put("f_p_u_bB", "1");
row.put("g_p_u_BB", "1");
row.put("hPuB", "1");
SyncData data = new SyncData(new BinlogDataId("mysql-bin.00001", 4, 10), SimpleEventType.UPDATE, "test", "test", "id", 1L, new NamedFullRow(row));
SyncUtil.underscoreToCamel(data);
replacedert.replacedertEquals("1", data.getField("aPub"));
replacedert.replacedertEquals("1", data.getField("bPub"));
replacedert.replacedertEquals("1", data.getField("cPUb"));
replacedert.replacedertEquals("1", data.getField("dPUb"));
replacedert.replacedertEquals("1", data.getField("ePUB"));
replacedert.replacedertEquals("1", data.getField("fPUBB"));
replacedert.replacedertEquals("1", data.getField("gPUBB"));
replacedert.replacedertEquals("1", data.getField("hPuB"));
}
19
Source : SyncDataTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void testToStringDefault() {
SyncData write = SyncDataTestUtil.write("test", "test");
replacedertEquals("SyncData(inner=Meta{dataId=mysql-bin.00001/4/6/0, context=true, connectionIdentifier='null'}, syncByQuery=null, esScriptUpdate=null, result=SyncResult(super=SyncResultBase(super=SyncMeta(eventType=WRITE, repo=test, enreplacedy=test, id=1234, primaryKeyName=id), fields={}, extras=null, before=null)), updated=null, parreplacedionField=null, extraQueryContext=null)", write.toString());
write.recycleParseContext(null);
replacedertEquals("SyncData(inner=Meta{dataId=mysql-bin.00001/4/6/0, context=null, connectionIdentifier='null'}, syncByQuery=null, esScriptUpdate=null, result=SyncResult(super=SyncResultBase(super=SyncMeta(eventType=WRITE, repo=test, enreplacedy=test, id=1234, primaryKeyName=id), fields={}, extras=null, before=null)), updated=null, parreplacedionField=null, extraQueryContext=null)", write.toString());
}
19
Source : BinlogDataIdTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void equals1() {
}
19
Source : BinlogDataIdTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void eventId() {
}
19
Source : BinlogDataIdTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void dataId() {
}
19
Source : BinlogDataIdTest.java
with BSD 3-Clause "New" or "Revised" License
from zzt93
with BSD 3-Clause "New" or "Revised" License
from zzt93
@Test
public void compareTo() {
BinlogDataId _0 = new BinlogDataId("mysql-bin.000117", 4, 40).setOrdinal(0).setOffset(null);
BinlogDataId _00 = new BinlogDataId("mysql-bin.000117", 4, 40).setOrdinal(0).setOffset(0);
BinlogDataId _1 = new BinlogDataId("mysql-bin.000117", 4, 40).setOrdinal(1).setOffset(null);
BinlogDataId _14 = new BinlogDataId("mysql-bin.000117", 14, 40).setOrdinal(0).setOffset(null);
BinlogDataId _118 = new BinlogDataId("mysql-bin.000118", 4, 40).setOrdinal(1).setOffset(null);
replacedert.replacedertEquals(-1, _0.compareTo(_00));
replacedert.replacedertEquals(1, _00.compareTo(_0));
replacedert.replacedertEquals(-1, _0.compareTo(_1));
replacedert.replacedertEquals(-1, _00.compareTo(_1));
replacedert.replacedertEquals(-1, _00.compareTo(_14));
replacedert.replacedertEquals(-1, _1.compareTo(_14));
replacedert.replacedertEquals(-1, _0.compareTo(_118));
replacedert.replacedertEquals(-1, _1.compareTo(_118));
replacedert.replacedertEquals(-1, _00.compareTo(_118));
replacedert.replacedertEquals(-1, _14.compareTo(_118));
replacedert.replacedertEquals(0, _0.compareTo(_0));
replacedert.replacedertEquals(0, _00.compareTo(_00));
}
See More Examples