Skip to content

Commit

Permalink
test: additional Babylonian test for 1
Browse files Browse the repository at this point in the history
  • Loading branch information
craigmayhew committed May 22, 2024
1 parent 77538da commit cb36206
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/cruncher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,7 @@ mod tests {
"   𒈫   𒌍   𒐈"
);

assert_eq!(numerics_to_text::den_to_babylonian("1"), "   𒁹");
assert_eq!(numerics_to_text::den_to_babylonian("55"), "   𒐐𒐊");
assert_eq!(numerics_to_text::den_to_babylonian("59"), "   𒐐𒐎"); // tests the 59th glyph is present
}
Expand Down

0 comments on commit cb36206

Please sign in to comment.