From 05a753fe6333d36dbee5f68c21dec04eacdc75df Mon Sep 17 00:00:00 2001
From: cadolphs <clemens.adolphs@gmail.com>
Date: Fri, 12 Mar 2021 09:36:35 -0800
Subject: [PATCH] fix: add check to prevent naive implementation of
 is_international

* fix(structs3): Add check to prevent naive implementation

* chore(structs3): Add a missed newline after the test I added
---
 exercises/structs/structs3.rs | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/exercises/structs/structs3.rs b/exercises/structs/structs3.rs
index 06fcaf29..f18cc925 100644
--- a/exercises/structs/structs3.rs
+++ b/exercises/structs/structs3.rs
@@ -57,6 +57,16 @@ mod tests {
         assert!(package.is_international());
     }
 
+    #[test]
+    fn create_local_package() {
+        let sender_country = String::from("Canada");
+        let recipient_country = sender_country.clone();
+
+        let package = Package::new(sender_country, recipient_country, 1200);
+
+        assert!(!package.is_international());
+    }
+
     #[test]
     fn calculate_transport_fees() {
         let sender_country = String::from("Spain");