From 4c47de406e749dd414e8edea90edda15b54d8371 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sun, 28 Jun 2020 13:10:13 +0100 Subject: [PATCH] more merge tests --- src/game.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/game.rs b/src/game.rs index 50e16ba..82b6ebd 100644 --- a/src/game.rs +++ b/src/game.rs @@ -914,6 +914,11 @@ mod test { assert_eq!( game.dialogue_ids(), vec!["SPR_0".to_string(), "ITM_0".to_string(), "0".to_string(), "1".to_string()] - ) + ); + assert_eq!(game.palette_ids(), vec!["0".to_string(), "1".to_string()]); + assert_eq!( + game.get_room_by_id("1".to_string()).unwrap().palette_id, + Some("1".to_string()) + ); } }