Skip to content

Commit

Permalink
Did not trigger till lapply
Browse files Browse the repository at this point in the history
  • Loading branch information
HughParsonage committed Mar 2, 2024
1 parent d8c789f commit c2b562f
Showing 1 changed file with 78 additions and 0 deletions.
78 changes: 78 additions & 0 deletions tests/testthat/test_incometax_single.R
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,84 @@ test_that("Previous years (intel compiler trigger)", {
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1998))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1999))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2000))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2001))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2002))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2003))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2004))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2005))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2006))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2007))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2008))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2009))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2010))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2011))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2012))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2013))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2014))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2015))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2016))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2017))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2018))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2019))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2020))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2021))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2022))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2023))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2024))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2025))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2026))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2027))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2028))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2029))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2030))))

expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1984))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1985))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1986))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1987))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1988))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1989))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1990))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1991))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1992))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1993))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1994))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1995))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1996))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1997))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1998))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(1999))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2000))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2001))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2002))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2003))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2004))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2005))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2006))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2007))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2008))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2009))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2010))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2011))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2012))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2013))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2014))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2015))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2016))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2017))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2018))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2019))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2020))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2021))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2022))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2023))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2024))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2025))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2026))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2027))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2028))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2029))))
expect_true(hutilscpp::is_sorted(income_tax(1e3:151e3, fy::yr2fy(2030))))
List <-
lapply(1984:2000, function(yr) {
income_tax(1e3:151e3, fy::yr2fy(yr))
Expand Down

0 comments on commit c2b562f

Please sign in to comment.