Subversion Repositories Code-Repo

Rev

Blame | Last modification | View Log | RSS feed

makenull
>> Makenull operation successful

insert -1 1597 Blacksburg
>> Insert rejected, bad X coordinate

insert 16384 4 Blacksburg
>> Insert rejected, bad X coordinate

insert 16383 16834 Blacksburg
>> Insert rejected, bad Y coordinate

insert 8581 -8581 Blacksburg
>> Insert rejected, bad Y coordinate

insert 5001 5012 Blacksburg
>> Insert operation successful

insert 5001 5012 Christiansburg
>> Insert rejected, coordinates duplicate an existing city record

insert 5001 6213 Blacksburg        
>> Insert operation successful

insert 5001 8414 Christiansburg       
>> Insert operation successful

insert 0 0 Floyd
>> Insert operation successful

insert 16383 16383 Virginia_Beach 
>> Insert operation successful

debug          
>> I5001,5012,Blacksburg5001,6213,Blacksburg0,0,Floyd|E5001,8414,Christiansburg|16383,16383,virginia_Beach|

find Blacksbrug
>> City record(s) found:
>> No records

find Blacksburg     
>> City Records found:
>> 5001, 5012, Blacksburg
>> 5001, 6213, Blacksburg

remove -160 15958
>> Remove operation failed: Bad X coordinate
[The Y coordinate is also bad, but one error is sufficient to report]

remove 0 -15958
>> Remove operation failed: Bad Y coordinate

remove 581 3851
>> No such City Record found

remove 5001 5012
>> Removed 5001, 5012, Blacksburg

remove 5001 5012
>> No such City Record found

remove Blacksbrug
>> No such City Record found

remove Christiansburg
>> Removed 5001, 8414, Christiansburg

insert 5002 1019 Radford
>> Insert operation successful

search 0 16893 1
>> Search operation failed: Bad Y value

search 100 159 -1
>> Search operation failed: Bad radius value

search -100 159 500
>> City record(s) found:
>> 0, 0, Floyd
>> 2 nodes visited

search 0 68 1000000
>> Search operation failed: Bad radius value

search 5000 5000 100
>> City record(s) found:
>> No such record
>> 2 nodes visited

makenull
>> Makenull operation successful

debug
>> E