- Added new test
- More details in test driver - Re-building GUI, idioticly eliminated long ago git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@277 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
@@ -205,7 +205,8 @@ def run_test(testname):
|
||||
if (o_result==result_rel) and (result==result_rel):
|
||||
print "\033[32;1mTest passed\033[0m"
|
||||
return True
|
||||
except:
|
||||
except Exception as inst:
|
||||
print inst
|
||||
pass
|
||||
print "\033[31;1mERROR\033[0m"
|
||||
print "Query: %s -> %s" % (query,expr)
|
||||
|
1
test/max_rating_in_age_range.query
Normal file
1
test/max_rating_in_age_range.query
Normal file
@@ -0,0 +1 @@
|
||||
(σ age<25(people) ᑌ σ age>30(people)) ᐅᐊ ratings-πid,name,chief,age,rating(σ rating<r((ρid➡i,rating➡r(π id,rating((σ age<25(people) ᑌ σ age>30(people)) ᐅᐊ ratings))) * (σ age<25(people) ᑌ σ age>30(people)) ᐅᐊ ratings))
|
2
test/max_rating_in_age_range.result
Normal file
2
test/max_rating_in_age_range.result
Normal file
@@ -0,0 +1,2 @@
|
||||
id,name,chief,age,rating
|
||||
1,carl,0,20,6
|
Reference in New Issue
Block a user