|
Scroom
0.14
|

Macros | |
| #define | BOOST_TEST_DYN_LINK |
Functions | |
| BOOST_AUTO_TEST_CASE (Ruler_creation_horizontal_signal_handlers) | |
| BOOST_AUTO_TEST_CASE (Ruler_creation_vertical_signal_handlers) | |
| void | testCorrectIntervalForMinWidth (double lowerLimit, double upperLimit, int expectedInterval) |
| BOOST_AUTO_TEST_CASE (Ruler_correct_interval_for_minimum_width_interval_1_range_0_to_10) | |
| BOOST_AUTO_TEST_CASE (Ruler_correct_interval_for_minimum_width_interval_1_range_236_to_877) | |
| BOOST_AUTO_TEST_CASE (Ruler_correct_interval_for_minimum_width_interval_1_range_158p2_to_687p3) | |
| BOOST_AUTO_TEST_CASE (Ruler_correct_interval_for_minimum_width_interval_1_range_neg791_to_neg312) | |
| BOOST_AUTO_TEST_CASE (Ruler_correct_interval_for_minimum_width_interval_1_range_neg12p56_to27p82) | |
| BOOST_AUTO_TEST_CASE (Ruler_correct_interval_for_minimum_width_interval_1_range_negLARGE_to_LARGE) | |
| BOOST_AUTO_TEST_CASE (Ruler_correct_interval_for_minimum_width_interval_1_range_0_to_1) | |
| BOOST_AUTO_TEST_CASE (Ruler_correct_interval_for_minimum_width_interval_5_range_0_to_10) | |
| BOOST_AUTO_TEST_CASE (Ruler_correct_interval_for_minimum_width_interval_5_range_236_to_877) | |
| BOOST_AUTO_TEST_CASE (Ruler_correct_interval_for_minimum_width_interval_5_range_158p2_to_687p3) | |
| BOOST_AUTO_TEST_CASE (Ruler_correct_interval_for_minimum_width_interval_5_range_neg791_to_neg312) | |
| BOOST_AUTO_TEST_CASE (Ruler_correct_interval_for_minimum_width_interval_5_range_neg12p56_to27p82) | |
| BOOST_AUTO_TEST_CASE (Ruler_correct_interval_for_minimum_width_interval_5_range_negLARGE_to_LARGE) | |
| BOOST_AUTO_TEST_CASE (Ruler_correct_interval_for_minimum_width_interval_5_range_0_to_1) | |
| BOOST_AUTO_TEST_CASE (Ruler_scaleToRange_src_0_to_10_dest_0_100_x_5) | |
| BOOST_AUTO_TEST_CASE (Ruler_scaleToRange_src_neg28_neg40_dest_0_100_x_neg28) | |
| BOOST_AUTO_TEST_CASE (Ruler_scaleToRange_src_LARGE_dest_LARGE_x_LARGE) | |
| BOOST_AUTO_TEST_CASE (Ruler_scaleToRange_src_SMALL_dest_SMALL_x_SMALL) | |
| BOOST_AUTO_TEST_CASE (Ruler_intervalPixelSpacing_range_0_to_1000_interval_1_size_540px) | |
| BOOST_AUTO_TEST_CASE (Ruler_intervalPixelSpacing_range_0_to_1000_interval_1_size_1920px) | |
| BOOST_AUTO_TEST_CASE (Ruler_intervalPixelSpacing_range_0_to_1000_interval_5_size_540px) | |
| BOOST_AUTO_TEST_CASE (Ruler_intervalPixelSpacing_range_0_to_1000_interval_5_size_1920px) | |
| BOOST_AUTO_TEST_CASE (Ruler_intervalPixelSpacing_range_0_to_1000_interval_25_size_540px) | |
| BOOST_AUTO_TEST_CASE (Ruler_intervalPixelSpacing_range_0_to_1000_interval_25_size_1920px) | |
| BOOST_AUTO_TEST_CASE (Ruler_intervalPixelSpacing_range_0_to_1000_interval_50000000_size_540px) | |
| BOOST_AUTO_TEST_CASE (Ruler_intervalPixelSpacing_range_0_to_1000_interval_50000000_size_1920px) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_0_interval_1) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_0_interval_25) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_0_interval_50000) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_neg123_interval_1) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_neg123_interval_25) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_neg123_interval_50000) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_360_interval_1) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_360_interval_25) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_360_interval_50000) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_0p1_interval_1) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_0p1_interval_25) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_0p1_interval_50000) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_neg0p1_interval_1) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_neg0p1_interval_25) | |
| BOOST_AUTO_TEST_CASE (Ruler_firstTick_lowerLimit_neg0p1_interval_50000) | |
| #define BOOST_TEST_DYN_LINK |
| BOOST_AUTO_TEST_CASE | ( | Ruler_correct_interval_for_minimum_width_interval_1_range_0_to_1 | ) |
| BOOST_AUTO_TEST_CASE | ( | Ruler_correct_interval_for_minimum_width_interval_1_range_0_to_10 | ) |
| BOOST_AUTO_TEST_CASE | ( | Ruler_correct_interval_for_minimum_width_interval_1_range_158p2_to_687p3 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_correct_interval_for_minimum_width_interval_1_range_236_to_877 | ) |
| BOOST_AUTO_TEST_CASE | ( | Ruler_correct_interval_for_minimum_width_interval_1_range_neg12p56_to27p82 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_correct_interval_for_minimum_width_interval_1_range_neg791_to_neg312 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_correct_interval_for_minimum_width_interval_1_range_negLARGE_to_LARGE | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_correct_interval_for_minimum_width_interval_5_range_0_to_1 | ) |
| BOOST_AUTO_TEST_CASE | ( | Ruler_correct_interval_for_minimum_width_interval_5_range_0_to_10 | ) |
| BOOST_AUTO_TEST_CASE | ( | Ruler_correct_interval_for_minimum_width_interval_5_range_158p2_to_687p3 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_correct_interval_for_minimum_width_interval_5_range_236_to_877 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_correct_interval_for_minimum_width_interval_5_range_neg12p56_to27p82 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_correct_interval_for_minimum_width_interval_5_range_neg791_to_neg312 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_correct_interval_for_minimum_width_interval_5_range_negLARGE_to_LARGE | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_creation_horizontal_signal_handlers | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_creation_vertical_signal_handlers | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_0_interval_1 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_0_interval_25 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_0_interval_50000 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_0p1_interval_1 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_0p1_interval_25 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_0p1_interval_50000 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_360_interval_1 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_360_interval_25 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_360_interval_50000 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_neg0p1_interval_1 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_neg0p1_interval_25 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_neg0p1_interval_50000 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_neg123_interval_1 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_neg123_interval_25 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_firstTick_lowerLimit_neg123_interval_50000 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_intervalPixelSpacing_range_0_to_1000_interval_1_size_1920px | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_intervalPixelSpacing_range_0_to_1000_interval_1_size_540px | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_intervalPixelSpacing_range_0_to_1000_interval_25_size_1920px | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_intervalPixelSpacing_range_0_to_1000_interval_25_size_540px | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_intervalPixelSpacing_range_0_to_1000_interval_50000000_size_1920px | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_intervalPixelSpacing_range_0_to_1000_interval_50000000_size_540px | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_intervalPixelSpacing_range_0_to_1000_interval_5_size_1920px | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_intervalPixelSpacing_range_0_to_1000_interval_5_size_540px | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_scaleToRange_src_0_to_10_dest_0_100_x_5 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_scaleToRange_src_LARGE_dest_LARGE_x_LARGE | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_scaleToRange_src_neg28_neg40_dest_0_100_x_neg28 | ) |

| BOOST_AUTO_TEST_CASE | ( | Ruler_scaleToRange_src_SMALL_dest_SMALL_x_SMALL | ) |

| void testCorrectIntervalForMinWidth | ( | double | lowerLimit, |
| double | upperLimit, | ||
| int | expectedInterval | ||
| ) |
Calculates the minimum pixel width for the ruler such that the interval between major ticks equals expectedInterval.
| lowerLimit | Lower limit of the ruler range. |
| upperLimit | Upper limit of the ruler range. |
| expectedInterval | The expected interval. |
Referenced by BOOST_AUTO_TEST_CASE().

