Class DistNormalTableTest


  • public class DistNormalTableTest
    extends Object
    Test the DistNormalTable class.
    Author:
    Peter Knoppers
    • Constructor Detail

      • DistNormalTableTest

        public DistNormalTableTest()
    • Method Detail

      • testSmoothness

        public void testSmoothness()
        Test that the values in the CUMULATIVE_NORMAL_PROBABILITIES table are non-decreasing and range from 0.5 to 1.0. This test should catch accidental edits and typos.
      • testCumulativeNormalProbabilities

        public void testCumulativeNormalProbabilities()
        Test the cumulative normal probabilities based on well-known values. Values from https://en.wikipedia.org/wiki/68%E2%80%9395%E2%80%9399.7_rule
      • testInverseCumulativeNormalProbabilities

        public void testInverseCumulativeNormalProbabilities()
        Test the inverse cumulative normal probabilities based on well-known values. Values from https://en.wikipedia.org/wiki/68%E2%80%9395%E2%80%9399.7_rule