// Copyright (c) 2018 Atsushi Miyake // // Licensed under the Apache License, Version 2.0, // or the MIT license , at your option. // This file may not be copied, modified, or distributed except according to those terms. extern crate tabelog_searcher; #[cfg(test)] mod tabelog_searcher_tests { use tabelog_searcher::TabelogClient; #[test] fn test_tabelog_searcher() { let result = TabelogClient.search("渋谷", "ラーメン"); match result.is_empty() { true => println!("not found."), false => for url in result { println!("{}", url); } } } }