//------------------------------------------------------------------------- public virtual void test_collectIndices() { FixedRateComputation test = FixedRateComputation.of(0.05); ImmutableSet.Builder <Index> builder = ImmutableSet.builder(); test.collectIndices(builder); assertEquals(builder.build(), ImmutableSet.of()); }
//----------------------------------------------------------------------- public override bool Equals(object obj) { if (obj == this) { return(true); } if (obj != null && obj.GetType() == this.GetType()) { FixedRateComputation other = (FixedRateComputation)obj; return(JodaBeanUtils.equal(rate, other.rate)); } return(false); }
public virtual void test_serialization() { FixedRateComputation test = FixedRateComputation.of(0.05); assertSerialization(test); }
//------------------------------------------------------------------------- public virtual void coverage() { FixedRateComputation test = FixedRateComputation.of(0.05); coverImmutableBean(test); }
public virtual void test_of() { FixedRateComputation test = FixedRateComputation.of(0.05); assertEquals(test.Rate, 0.05); }