Skip to content

Commit

Permalink
adding test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikmota committed Apr 14, 2024
1 parent af488d6 commit 6a094a7
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion tests/misc.rye
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,23 @@ group "atan"
equal { do\in math { atan 1 } } 0.7853981633974483
}

group "atan2"
mold\nowrap ""
{ { string } }
{
equal { do\in math { atan2 3 4 } } 0.6435011087932844
}

group "atanh"
mold\nowrap ""
{ { string } }
{
equal { do\in math { atanh 0.5 } } 0.5493061443340548
}


; TODO add sin and cos ... need PI constant

}


end

0 comments on commit 6a094a7

Please sign in to comment.