Uploaded image for project: 'JSword'
  1. JSword
  2. JS-202

TDavid.contains(verse) does not work correctly

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Upstream Problem
    • Affects Version/s: 1.6.1
    • Fix Version/s: None
    • Component/s: o.c.jsword.book.sword
    • Labels:
      None
    • Environment:

      All

      Description

      TDavid.contains(verse) often returns true for verses that aren't in Psalms.

      Here is a test to show the problem:

      public void testTDavidContains() throws Exception {
      Book tdavid = Books.installed().getBook("TDavid");

      Verse verse = VerseFactory.fromString("Prov 19:14");
      assertFalse("TDavid contains not working correctly 1", tdavid.contains(verse));

      verse = VerseFactory.fromString("Isaiah 55:1");
      assertFalse("TDavid contains not working correctly 2", tdavid.contains(verse));
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dmsmith DM Smith
                Reporter:
                mjdenham Martin Denham
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: