# Copyright (C) 2023 Brodie Gaslam
#
# This file is part of "vetr - Trust, but Verify"
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# Go to <https://www.r-project.org/Licenses/GPL-2> for a copy of the license.

`1:3 + 0.01` should be type "integer-like" (is "double")

[1] "`1:3 + 0.01` should be type \"integer-like\" (is \"double\")"

`seq(1/6, 1, 1/6) * 6` should be type "integer-like" (is "double")

[1] "`seq(1/6, 1, 1/6) * 6` should be type \"integer-like\" (is \"double\")"

`letters[1:4]` should be type "integer-like" (is "character")

[1] "`letters[1:4]` should be type \"integer-like\" (is \"character\")"

alike(letters[1:4], c("hello", "goodbye", "ba", "da"))

`NULL` should be type "integer-like" (is "NULL")

[1] "`NULL` should be type \"integer-like\" (is \"NULL\")"

[1] "`c(1, 2)` should have attribute \"names\""

`2^31` should be type "integer-like" (is "double")

[1] "`2^31` should be type \"integer-like\" (is \"double\")"

`Inf` should be type "integer-like" (is "double")

[1] "`Inf` should be type \"integer-like\" (is \"double\")"

`-2^31` should be type "integer-like" (is "double")

[1] "`-2^31` should be type \"integer-like\" (is \"double\")"

`-Inf` should be type "integer-like" (is "double")

[1] "`-Inf` should be type \"integer-like\" (is \"double\")"

`NaN` should be type "integer-like" (is "double")

[1] "`NaN` should be type \"integer-like\" (is \"double\")"

`NA_real_` should be type "integer-like" (is "double")

[1] "`NA_real_` should be type \"integer-like\" (is \"double\")"

`"hello"` should be type "integer-like" (is "character")

[1] "`\"hello\"` should be type \"integer-like\" (is \"character\")"