test RTL and font options
This commit is contained in:
@@ -368,3 +368,10 @@ fn test_bitsy_omnibus() {
|
||||
println!("Success! {} passes, {} skips.", passes, skips);
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_arabic() {
|
||||
let game = Game::from(include_str!("test-resources/arabic.bitsy").to_string());
|
||||
assert_eq!(game.font, Font::Arabic);
|
||||
assert_eq!(game.text_direction, TextDirection::RightToLeft);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user