tests package

Submodules

tests.test_metrics module

class tests.test_metrics.TestCalculatePercentiles(methodName='runTest')[source]

Bases: TestCase

test_edge_case_single_nonzero_probability()[source]
test_mismatched_lengths()[source]
test_probabilities_not_summing_to_one()[source]
test_valid_inputs()[source]
class tests.test_metrics.TestLensaiMetrics(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_calculate_brightness()[source]
test_calculate_channel_histogram()[source]
test_calculate_channel_mean()[source]
test_calculate_sharpness_laplacian()[source]
test_calculate_snr()[source]
test_process_batch()[source]

tests.test_sketches module

class tests.test_sketches.TestSketches(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

Setup common test data and instances.

tearDown()[source]

Clean up any resources after each test.

test_environments()[source]

Test all functionalities in both environments.

Module contents