Package edu.umd.cloud9.util.fd

Examples of edu.umd.cloud9.util.fd.Int2IntFrequencyDistribution


    test3Common(fd);
  }

  @Test
  public void test3Fastutil() {
    Int2IntFrequencyDistribution fd = new Int2IntFrequencyDistributionFastutil();
    test3Common(fd);
  }
View Full Code Here


    assertEquals(0, fd.getSumOfCounts());
  }

  @Test(expected = RuntimeException.class)
  public void testFailedDecrement1Entry() {
    Int2IntFrequencyDistribution fd = new Int2IntFrequencyDistributionEntry();
    testFailedDecrement1Common(fd);
  }
View Full Code Here

    testFailedDecrement1Common(fd);
  }

  @Test(expected = RuntimeException.class)
  public void testFailedDecrement1Fastutil() {
    Int2IntFrequencyDistribution fd = new Int2IntFrequencyDistributionFastutil();
    testFailedDecrement1Common(fd);
  }
View Full Code Here

    fd.decrement(1);
  }

  @Test(expected = RuntimeException.class)
  public void testFailedDecrement2Entry() {
    Int2IntFrequencyDistribution fd = new Int2IntFrequencyDistributionEntry();
    testFailedDecrement2Common(fd);
  }
View Full Code Here

    testFailedDecrement2Common(fd);
  }

  @Test(expected = RuntimeException.class)
  public void testFailedDecrement2Fastutil() {
    Int2IntFrequencyDistribution fd = new Int2IntFrequencyDistributionFastutil();
    testFailedDecrement2Common(fd);
  }
View Full Code Here

    fd.decrement(1, 4);
  }

  @Test
  public void testMultiIncrementDecrementEntry() {
    Int2IntFrequencyDistribution fd = new Int2IntFrequencyDistributionEntry();
    testMultiIncrementDecrementCommon(fd);
  }
View Full Code Here

    testMultiIncrementDecrementCommon(fd);
  }

  @Test
  public void testMultiIncrementDecrementFastutil() {
    Int2IntFrequencyDistribution fd = new Int2IntFrequencyDistributionFastutil();
    testMultiIncrementDecrementCommon(fd);
  }
View Full Code Here

    assertEquals(4, fd.get(3));
  }

  @Test
  public void testGetFrequencySortedEventsEntry() {
    Int2IntFrequencyDistribution fd = new Int2IntFrequencyDistributionEntry();
    testGetFrequencySortedEventsCommon(fd);
  }
View Full Code Here

    testGetFrequencySortedEventsCommon(fd);
  }

  @Test
  public void testGetFrequencySortedEventsFastutil() {
    Int2IntFrequencyDistribution fd = new Int2IntFrequencyDistributionFastutil();
    testGetFrequencySortedEventsCommon(fd);
  }
View Full Code Here

    assertEquals(5, list.get(3).getRightElement());
  }

  @Test
  public void testGetSortedEventsEntry() {
    Int2IntFrequencyDistribution fd = new Int2IntFrequencyDistributionEntry();
    testGetSortedEventsCommon(fd);
  }
View Full Code Here

TOP

Related Classes of edu.umd.cloud9.util.fd.Int2IntFrequencyDistribution

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.