From 7e9ab965f3201b0b1d8280a10c0e2e078bcb97b2 Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Tue, 2 Jul 2013 12:05:30 -0400 Subject: [PATCH] Expand MFHD comparison test for unknown and unsure data Add some holdings with missing and unsure data to test the new comparison operators handling of such data. Signed-off-by: Dan Wells --- .../lib/OpenILS/Utils/MFHD/test/mfhddata2.txt | 34 ++++++++++++---------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/test/mfhddata2.txt b/Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/test/mfhddata2.txt index 65a6fe868f..41560c2567 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/test/mfhddata2.txt +++ b/Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/test/mfhddata2.txt @@ -50,25 +50,29 @@ 853 20 $81$av.$bno.$u12$vr$i(year)$j(month)$wm$x01 863 40 $81.1$a1$b4-7$i1990$j04-07 863 40 $81.2$a1$b4-7$i1990$j04-07 -863 41 $81.3$a1$b4$i1990$j04 +863 41 $81.3$a1$b4$i1990$j[04] 863 41 $81.4$a1$b4$i1990$j04 -863 40 $81.5$a1-$b3-$i1990-$j03- -863 40 $81.6$a1$b3-6$i1990$j03-06 -863 40 $81.7$a1$b3-5$i1990$j03-05 -863 41 $81.8$a1$b3$i1990$j03 -863 41 $81.9$a1$b2$i1990$j02 +863 41 $81.5$a1$b4$i1990$j[04] +863 40 $81.6$a1-$b3-$i1990-$j03- +863 40 $81.7$a1$b3-6$i1990$j03-06 +863 40 $81.8$a1$b3-5$i1990$j03-05 +863 41 $81.9$a1$b3$i1990$j03 +863 41 $81.10$a1$b2$i1990$j02 +863 41 $81.11$a1$b2$i1990 245 00 $aComparison test, sorted 853 20 $81$av.$bno.$u12$vr$i(year)$j(month)$wm$x01 -863 41 $81.1$a1$b2$i1990$j02 -863 41 $81.2$a1$b3$i1990$j03 -863 40 $81.3$a1$b3-5$i1990$j03-05 -863 40 $81.4$a1$b3-6$i1990$j03-06 -863 40 $81.5$a1-$b3-$i1990-$j03- -863 41 $81.6$a1$b4$i1990$j04 -863 41 $81.7$a1$b4$i1990$j04 -863 40 $81.8$a1$b4-7$i1990$j04-07 -863 40 $81.9$a1$b4-7$i1990$j04-07 +863 41 $81.1$a1$b2$i1990$j* +863 41 $81.2$a1$b2$i1990$j02 +863 41 $81.3$a1$b3$i1990$j03 +863 40 $81.4$a1$b3-5$i1990$j03-05 +863 40 $81.5$a1$b3-6$i1990$j03-06 +863 40 $81.6$a1-$b3-$i1990-$j03- +863 41 $81.7$a1$b4$i1990$j[04] +863 41 $81.8$a1$b4$i1990$j[04] +863 41 $81.9$a1$b4$i1990$j04 +863 40 $81.10$a1$b4-7$i1990$j04-07 +863 40 $81.11$a1$b4-7$i1990$j04-07 245 00 $aGet combined holdings 853 20 $81$av.$bno.$u12$vr$i(year)$j(month)$wm$x01 -- 2.11.0