#[test] fn regression_0001() { let data: Vec<(f64, f64)> = vec![ (1.0, 45385.0), (2.0, 90769.0), (3.0, 136155.0), (4.0, 181539.0), (5.0, 226925.0), (6.0, 272309.0), (7.0, 317695.0), (8.0, 363079.0), (9.0, 408465.0), (10.0, 453849.0), (11.0, 499235.0), (12.0, 544619.0), (13.0, 590004.0), (14.0, 635389.0), (15.0, 680773.0), (16.0, 726159.0), (17.0, 771543.0), (18.0, 816929.0), (19.0, 862313.0), (20.0, 907699.0), (21.0, 953083.0), (22.0, 998469.0), (23.0, 1043853.0), (24.0, 1089239.0), (25.0, 1134623.0), (26.0, 1180008.0), (27.0, 1225393.0), (28.0, 1270777.0), (29.0, 1316163.0), (30.0, 1361547.0), (31.0, 1406933.0), (32.0, 1452317.0), (33.0, 1497703.0), (34.0, 1543087.0), (35.0, 1588473.0), (36.0, 1633857.0), (37.0, 1679243.0), (38.0, 1724627.0), (39.0, 1770012.0), (40.0, 1815397.0), (41.0, 1860781.0), (42.0, 1906167.0), (43.0, 1951551.0), (44.0, 1996937.0), (45.0, 2042321.0), (46.0, 2087707.0), (47.0, 2133091.0), (48.0, 2178477.0), (49.0, 2223861.0), ]; let (complexity, all) = big_o::infer_complexity(data).unwrap(); assert_eq!( complexity.name, big_o::Name::Linear, "\n\ncomplexity={complexity:?}, \n\nall={all:?}" ); }