Skip to content

Update max & min tests for jank - #954

Open
shantanu-sardesai wants to merge 1 commit into
jank-lang:mainfrom
shantanu-sardesai:issues/636-math-epic-v2
Open

Update max & min tests for jank#954
shantanu-sardesai wants to merge 1 commit into
jank-lang:mainfrom
shantanu-sardesai:issues/636-math-epic-v2

Conversation

@shantanu-sardesai

Copy link
Copy Markdown
Contributor

No description provided.

@jeaye jeaye left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Shantanu!

(is (NaN? (max 1 ##NaN)))
(is (NaN? (max 1 2 3 4 ##NaN)))
(is (NaN? (max ##-Inf ##NaN ##Inf)))
#?@(:jank [(is 1 (= (max 1 ##NaN)))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please leave a comment next to any jank-specific differences to explain why it's different. Follow jank's practices about what makes a good comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants