Search in sources :

Example 6 with NumberProperty

use of org.apache.jmeter.testelement.property.NumberProperty in project jmeter by apache.

the class TestNumberProperty method testDZeroCompareToDZero.

@Test
public void testDZeroCompareToDZero() {
    NumberProperty n1 = new DoubleProperty("n1", 0.0);
    NumberProperty n2 = new DoubleProperty("n2", 0.0);
    assertTrue(n1.compareTo(n2) == 0);
}
Also used : DoubleProperty(org.apache.jmeter.testelement.property.DoubleProperty) NumberProperty(org.apache.jmeter.testelement.property.NumberProperty) Test(org.junit.Test)

Aggregations

NumberProperty (org.apache.jmeter.testelement.property.NumberProperty)6 DoubleProperty (org.apache.jmeter.testelement.property.DoubleProperty)5 Test (org.junit.Test)5 LinkedList (java.util.LinkedList)1 IntegerProperty (org.apache.jmeter.testelement.property.IntegerProperty)1 JMeterProperty (org.apache.jmeter.testelement.property.JMeterProperty)1 MultiProperty (org.apache.jmeter.testelement.property.MultiProperty)1 StringProperty (org.apache.jmeter.testelement.property.StringProperty)1