Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
added a test
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed Feb 28, 2020
1 parent 25a356f commit c5012e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/com/andromeda/araserver/test/YelpTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import java.net.URL
class YelpTest {
@Test
fun test(){
if (!System.getenv().contains("YELPKEY")) return
val locdec = Locdec()
val classloader = javaClass.classLoader
var `is` = classloader.getResourceAsStream("resources/parse.bin")
Expand All @@ -22,7 +23,7 @@ class YelpTest {
val model = ParserModel(`is`)
val parser = ParserFactory.create(model)
val keyWord = KeyWord(`is`!!)
//locdec.main("/yelpclient/", keyWord, parser)
locdec.main("/yelpclient/log=-122.676483&lat=45.523064", keyWord, parser)

}

Expand Down

0 comments on commit c5012e5

Please sign in to comment.