Library update

This commit is contained in:
Sergey Solovyev
2012-09-16 18:25:50 +04:00
parent 024e211dd3
commit 0ca88fb95d
122 changed files with 325 additions and 235 deletions

View File

@@ -13,10 +13,10 @@ import org.jetbrains.annotations.Nullable;
import org.junit.Test;
import org.solovyev.android.calculator.ICalculatorDisplay;
import org.solovyev.android.calculator.jscl.JsclOperation;
import org.solovyev.common.utils.CollectionEqualizer;
import org.solovyev.common.utils.EqualsTool;
import org.solovyev.common.utils.history.HistoryHelper;
import org.solovyev.common.utils.history.SimpleHistoryHelper;
import org.solovyev.common.equals.CollectionEqualizer;
import org.solovyev.common.equals.EqualsTool;
import org.solovyev.common.history.HistoryHelper;
import org.solovyev.common.history.SimpleHistoryHelper;
import java.util.ArrayList;
import java.util.Date;

View File

@@ -11,7 +11,7 @@ import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.solovyev.android.calculator.jscl.JsclOperation;
import org.solovyev.common.utils.Converter;
import org.solovyev.common.Converter;
import java.io.InputStreamReader;
import java.util.ArrayList;

View File

@@ -2,10 +2,8 @@ package org.solovyev.common;
import junit.framework.Assert;
import org.junit.Test;
import org.solovyev.common.text.Mapper;
import org.solovyev.common.interval.IntervalImpl;
import org.solovyev.common.text.NumberIntervalMapper;
import org.solovyev.common.utils.Interval;
import org.solovyev.common.utils.NumberInterval;
/**
* User: serso
@@ -16,9 +14,9 @@ public class FloatIntervalMapperTest {
@Test
public void testParse() throws Exception {
final Mapper<Interval<Float>> mapper = new NumberIntervalMapper<Float>(Float.class);
final NumberIntervalMapper<Float> mapper = new NumberIntervalMapper<Float>(Float.class);
Assert.assertEquals(new NumberInterval<Float>(1.2f, 12.2f), mapper.parseValue("1.2;12.2"));
Assert.assertEquals(new NumberInterval<Float>(0f, 0f), mapper.parseValue("0;0"));
Assert.assertEquals(IntervalImpl.newClosed(1.2f, 12.2f), mapper.parseValue("1.2;12.2"));
Assert.assertEquals(IntervalImpl.newPoint(0f), mapper.parseValue("0;0"));
}
}

View File

@@ -2,7 +2,6 @@ package org.solovyev.common.math;
import org.junit.Assert;
import org.junit.Test;
import org.solovyev.common.utils.MathUtils;
/**
* User: serso