Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
samples: vision: makes tests more generic (#2475)
Browse files Browse the repository at this point in the history
  • Loading branch information
nnegrey authored Mar 23, 2020
1 parent 8b0ee7f commit fb51e3c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ public void detectWebAnnotations() throws Exception {

// Assert
String got = bout.toString().toLowerCase();
assertThat(got).contains("history");
assertThat(got).contains("best guess label: palace of fine arts");
assertThat(got).contains("entity:id:score");
assertThat(got).contains("best guess label");
}

@Test
Expand All @@ -256,8 +256,8 @@ public void detectWebAnnotationsGcs() throws Exception {

// Assert
String got = bout.toString().toLowerCase();
assertThat(got).contains("history");
assertThat(got).contains("best guess label: palace of fine arts");
assertThat(got).contains("entity:id:score");
assertThat(got).contains("best guess label");
}

@Test
Expand Down

0 comments on commit fb51e3c

Please sign in to comment.