File: properties.cdb

package info (click to toggle)
cadabra2 2.4.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 78,796 kB
  • sloc: ansic: 133,450; cpp: 92,064; python: 1,530; javascript: 203; sh: 184; xml: 182; objc: 53; makefile: 51
file content (22 lines) | stat: -rw-r--r-- 410 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

def test01():
    __cdbkernel__=create_scope()
    try:
        {c,d}::Coordinate;
        {a,b,c,d}::Indices;
        assert(1==0)
    except RuntimeError as e:
        print("Test 01 passed")

test01()

def test02():
    __cdbkernel__=create_scope()
    try:
        {a,b,c,d}::Indices;
        {c,d}::Coordinate;
        assert(1==0)
    except RuntimeError as e:
        print("Test 02 passed")

test02()