• Home
  • Raw
  • Download

Lines Matching defs:self

192     def test_py_functions(self):  argument
197 def test_c_functions(self): argument
212 self, first, second, tol=None, rel=None, msg=None argument
255 def _check_approx_seq(self, first, second, tol, rel, msg): argument
266 def _check_approx_num(self, first, second, tol, rel, msg, idx=None): argument
299 def testZeroes(self): argument
310 def test_relative_symmetry(self): argument
326 def do_relative_symmetry(self, a, b): argument
338 def test_symmetry(self): argument
362 def do_symmetry_test(self, a, b, tol, rel): argument
375 def do_exactly_equal_test(self, x, tol, rel): argument
381 def test_exactly_equal_ints(self): argument
386 def test_exactly_equal_floats(self): argument
391 def test_exactly_equal_fractions(self): argument
397 def test_exactly_equal_decimals(self): argument
403 def test_exactly_equal_absolute(self): argument
414 def test_exactly_equal_absolute_decimals(self): argument
419 def test_exactly_equal_relative(self): argument
425 def test_exactly_equal_both(self): argument
437 def do_exactly_unequal_test(self, x): argument
442 def test_exactly_unequal_ints(self): argument
447 def test_exactly_unequal_floats(self): argument
452 def test_exactly_unequal_fractions(self): argument
458 def test_exactly_unequal_decimals(self): argument
470 def do_approx_equal_abs_test(self, x, delta): argument
477 def test_approx_equal_absolute_ints(self): argument
483 def test_approx_equal_absolute_floats(self): argument
490 def test_approx_equal_absolute_fractions(self): argument
498 def test_approx_equal_absolute_decimals(self): argument
505 def test_cross_zero(self): argument
511 def do_approx_equal_rel_test(self, x, delta): argument
518 def test_approx_equal_relative_ints(self): argument
527 def test_approx_equal_relative_floats(self): argument
533 def test_approx_equal_relative_fractions(self): argument
542 def test_approx_equal_relative_decimals(self): argument
556 def do_check_both(self, a, b, tol, rel, tol_flag, rel_flag): argument
564 def test_approx_equal_both1(self): argument
569 def test_approx_equal_both2(self): argument
573 def test_approx_equal_both3(self): argument
577 def test_approx_equal_both4(self): argument
586 def test_inf(self): argument
596 def test_nan(self): argument
602 def test_float_zeroes(self): argument
606 def test_decimal_zeroes(self): argument
614 def test_bad_tol(self): argument
618 def test_bad_rel(self): argument
634 def do_test(self, args): argument
640 def test_numerictestcase_is_testcase(self): argument
644 def test_error_msg_numeric(self): argument
649 def test_error_msg_sequence(self): argument
654 def generate_substrings(self, first, second, tol, rel, idx): argument
677 def test_meta(self): argument
683 def test_check_all(self): argument
698 def test_doc_tests(self): argument
704 def test_has_exception(self): argument
721 def test_int(self): argument
725 def test_fraction(self): argument
731 def test_float(self): argument
739 def test_decimal(self): argument
746 def test_inf(self): argument
760 def test_float_nan(self): argument
770 def test_decimal_nan(self): argument
785 def test_infinity(self): argument
791 def test_nan(self): argument
801 def test_sign(self): argument
815 def test_negative_exponent(self): argument
820 def test_positive_exponent(self): argument
825 def test_regression_20536(self): argument
837 def test_finite(self): argument
842 def test_infinity(self): argument
847 def test_nan(self): argument
874 def test_bool(self): argument
883 def assertCoerceTo(self, A, B): argument
888 def check_coerce_to(self, A, B): argument
900 def assertCoerceRaises(self, A, B): argument
905 def check_type_coercions(self, T): argument
921 def test_int(self): argument
927 def test_fraction(self): argument
932 def test_decimal(self): argument
936 def test_float(self): argument
940 def test_non_numeric_types(self): argument
945 def test_incompatible_types(self): argument
956 def check_exact_equal(self, x, y): argument
961 def test_int(self): argument
969 def test_fraction(self): argument
974 def __truediv__(self, other): argument
979 def test_float(self): argument
984 def __truediv__(self, other): argument
989 def test_decimal(self): argument
994 def __truediv__(self, other): argument
999 def test_inf(self): argument
1005 def test_nan(self): argument
1010 def test_invalid_input_type(self): argument
1018 def test_pass_through(self): argument
1024 def test_negatives_raise(self): argument
1031 def test_error_msg(self): argument
1048 def test_no_args(self): argument
1052 def test_empty_data(self): argument
1057 def prepare_data(self): argument
1064 def test_no_inplace_modifications(self): argument
1074 def test_order_doesnt_matter(self): argument
1087 def test_type_of_data_collection(self): argument
1101 def test_range_data(self): argument
1107 def test_bad_arg_types(self): argument
1122 def check_for_type_error(self, *args): argument
1125 def test_type_of_data_element(self): argument
1130 def __truediv__(self, other): argument
1132 def __add__(self, other): argument
1154 def prepare_types_for_conservation_test(self): argument
1157 def __truediv__(self, other): argument
1159 def __rtruediv__(self, other): argument
1161 def __sub__(self, other): argument
1163 def __rsub__(self, other): argument
1165 def __pow__(self, other): argument
1167 def __add__(self, other): argument
1170 def __mul__(self, other): argument
1175 def test_types_conserved(self): argument
1191 def setUp(self): argument
1203 def setUp(self): argument
1206 def test_empty_data(self): argument
1211 def test_ints(self): argument
1215 def test_floats(self): argument
1219 def test_fractions(self): argument
1223 def test_decimals(self): argument
1231 def test_compare_with_math_fsum(self): argument
1238 def test_strings_fail(self): argument
1243 def test_bytes_fail(self): argument
1248 def test_mixed_sum(self): argument
1257 def test_torture(self): argument
1272 def test_nan(self): argument
1279 def check_infinity(self, x, inf): argument
1286 def do_test_inf(self, inf): argument
1294 def test_float_inf(self): argument
1299 def test_decimal_inf(self): argument
1304 def test_float_mismatched_infs(self): argument
1310 def test_decimal_extendedcontext_mismatched_infs_to_nan(self): argument
1317 def test_decimal_basiccontext_mismatched_infs_to_nan(self): argument
1324 def test_decimal_snan_raises(self): argument
1336 def test_single_value(self): argument
1341 def prepare_values_for_repeated_single_test(self): argument
1344 def test_repeated_single_value(self): argument
1354 def setUp(self): argument
1357 def test_torture_pep(self): argument
1361 def test_ints(self): argument
1367 def test_floats(self): argument
1373 def test_decimals(self): argument
1380 def test_fractions(self): argument
1387 def test_inf(self): argument
1398 def test_mismatched_infs(self): argument
1404 def test_nan(self): argument
1413 def test_big_data(self): argument
1422 def test_doubled_data(self): argument
1429 def test_regression_20561(self): argument
1435 def test_regression_25177(self): argument
1450 def setUp(self): argument
1453 def prepare_data(self): argument
1459 def prepare_values_for_repeated_single_test(self): argument
1463 def test_zero(self): argument
1468 def test_negative_error(self): argument
1475 def test_invalid_type_error(self): argument
1487 def test_ints(self): argument
1493 def test_floats_exact(self): argument
1500 def test_singleton_lists(self): argument
1505 def test_decimals_exact(self): argument
1516 def test_fractions(self): argument
1523 def test_inf(self): argument
1528 def test_nan(self): argument
1533 def test_multiply_data_points(self): argument
1541 def test_doubled_data(self): argument
1548 def test_with_weights(self): argument
1572 def setUp(self): argument
1575 def prepare_data(self): argument
1582 def test_even_ints(self): argument
1588 def test_odd_ints(self): argument
1594 def test_odd_fractions(self): argument
1602 def test_even_fractions(self): argument
1610 def test_odd_decimals(self): argument
1618 def test_even_decimals(self): argument
1629 def setUp(self): argument
1632 def prepare_data(self): argument
1641 def setUp(self): argument
1644 def test_even_ints(self): argument
1650 def test_even_fractions(self): argument
1658 def test_even_decimals(self): argument
1668 def setUp(self): argument
1671 def test_even_ints(self): argument
1677 def test_even_fractions(self): argument
1685 def test_even_decimals(self): argument
1697 def setUp(self): argument
1700 def test_odd_number_repeated(self): argument
1718 def test_even_number_repeated(self): argument
1736 def test_repeated_single_value(self): argument
1745 def test_single_value(self): argument
1751 def test_odd_fractions(self): argument
1759 def test_even_fractions(self): argument
1767 def test_odd_decimals(self): argument
1775 def test_even_decimals(self): argument
1788 def test_interval(self): argument
1797 def test_data_type_error(self): argument
1816 def setUp(self): argument
1819 def prepare_data(self): argument
1824 def test_range_data(self): argument
1829 def test_nominal_data(self): argument
1836 def test_discrete_data(self): argument
1844 def test_bimodal_data(self): argument
1851 def test_unique_data(self): argument
1857 def test_none_data(self): argument
1864 def test_counter_data(self): argument
1877 def test_basics(self): argument
1886 def test_basics(self): argument
1903 def test_error_cases(self): argument
1919 def test_special_values(self): argument
1930 def test_weights(self): argument
1962 def test_single_value(self): argument
1967 def test_repeated_single_value(self): argument
1974 def test_domain_error_regression(self): argument
1984 def test_shift_data(self): argument
1998 def test_shift_data_exact(self): argument
2007 def test_iter_list_same(self): argument
2022 def setUp(self): argument
2025 def test_exact_uniform(self): argument
2032 def test_ints(self): argument
2038 def test_fractions(self): argument
2047 def test_decimals(self): argument
2056 def test_accuracy_bug_20499(self): argument
2066 def setUp(self): argument
2069 def test_single_value(self): argument
2074 def test_ints(self): argument
2080 def test_fractions(self): argument
2089 def test_decimals(self): argument
2098 def test_center_not_at_mean(self): argument
2103 def test_accuracy_bug_20499(self): argument
2112 def setUp(self): argument
2115 def test_compare_to_variance(self): argument
2121 def test_center_not_at_mean(self): argument
2129 def test_integer_sqrt_of_frac_rto(self): argument
2142 def test_float_sqrt_of_frac(self): argument
2186 def test_decimal_sqrt_of_frac(self): argument
2226 def setUp(self): argument
2229 def test_single_value(self): argument
2234 def test_compare_to_variance(self): argument
2240 def test_center_not_at_mean(self): argument
2246 def test_basics(self): argument
2268 def test_various_input_types(self): argument
2286 def test_big_and_small(self): argument
2301 def test_error_cases(self): argument
2321 def test_special_values(self): argument
2332 def test_mixed_int_and_float(self): argument
2351 def test_specific_cases(self): argument
2405 def test_specific_cases_inclusive(self): argument
2459 def test_equal_inputs(self): argument
2467 def test_equal_sized_groups(self): argument
2490 def test_error_cases(self): argument
2515 def test_unequal_size_error(self): argument
2527 def test_small_sample_error(self): argument
2546 def test_results(self): argument
2557 def test_different_scales(self): argument
2570 def test_constant_input_error(self): argument
2576 def test_results(self): argument
2590 def test_proportional(self): argument
2606 def test_slots(self): argument
2612 def test_instantiation_and_attributes(self): argument
2634 def test_alternative_constructor(self): argument
2655 def test_sample_generation(self): argument
2677 def test_pdf(self): argument
2716 def test_cdf(self): argument
2747 def test_inv_cdf(self): argument
2811 def test_quantiles(self): argument
2824 def test_overlap(self): argument
2887 def test_zscore(self): argument
2902 def test_properties(self): argument
2910 def test_same_type_addition_and_subtraction(self): argument
2917 def test_translation_and_scaling(self): argument
2933 def test_unary_operations(self): argument
2945 def test_equality(self): argument
2961 def __eq__(self, other): argument
2971 def __init__(self, mu, sigma, n): argument
2982 def __init__(self, mu, sigma): argument
2989 def test_copy(self): argument
2996 def test_pickle(self): argument
3003 def test_hashability(self): argument
3008 def test_repr(self): argument
3018 def setUp(self): argument
3021 def tearDown(self): argument
3028 def setUp(self): argument
3031 def tearDown(self): argument