test_unicode

Module Contents

ucs4 = False
ucs2_value
ucs4_value
class create_zeros

Bases:object

Check the creation of zero-valued arrays

content_check(self, ua, ua_scalar, nbytes)
test_zeros0D(self)

Check creation of 0-dimensional objects

test_zerosSD(self)

Check creation of single-dimensional objects

test_zerosMD(self)

Check creation of multi-dimensional objects

class test_create_zeros_1

Bases:test_unicode.create_zeros, TestCase

Check the creation of zero-valued arrays (size 1)

ulen = 1
class test_create_zeros_2

Bases:test_unicode.create_zeros, TestCase

Check the creation of zero-valued arrays (size 2)

ulen = 2
class test_create_zeros_1009

Bases:test_unicode.create_zeros, TestCase

Check the creation of zero-valued arrays (size 1009)

ulen = 1009
class create_values

Bases:object

Check the creation of unicode arrays with values

content_check(self, ua, ua_scalar, nbytes)
test_values0D(self)

Check creation of 0-dimensional objects with values

test_valuesSD(self)

Check creation of single-dimensional objects with values

test_valuesMD(self)

Check creation of multi-dimensional objects with values

class test_create_values_1_ucs2

Bases:test_unicode.create_values, TestCase

Check the creation of valued arrays (size 1, UCS2 values)

ulen = 1
ucs_value
class test_create_values_1_ucs4

Bases:test_unicode.create_values, TestCase

Check the creation of valued arrays (size 1, UCS4 values)

ulen = 1
ucs_value
class test_create_values_2_ucs2

Bases:test_unicode.create_values, TestCase

Check the creation of valued arrays (size 2, UCS2 values)

ulen = 2
ucs_value
class test_create_values_2_ucs4

Bases:test_unicode.create_values, TestCase

Check the creation of valued arrays (size 2, UCS4 values)

ulen = 2
ucs_value
class test_create_values_1009_ucs2

Bases:test_unicode.create_values, TestCase

Check the creation of valued arrays (size 1009, UCS2 values)

ulen = 1009
ucs_value
class test_create_values_1009_ucs4

Bases:test_unicode.create_values, TestCase

Check the creation of valued arrays (size 1009, UCS4 values)

ulen = 1009
ucs_value
class assign_values

Bases:object

Check the assignment of unicode arrays with values

content_check(self, ua, ua_scalar, nbytes)
test_values0D(self)

Check assignment of 0-dimensional objects with values

test_valuesSD(self)

Check assignment of single-dimensional objects with values

test_valuesMD(self)

Check assignment of multi-dimensional objects with values

class test_assign_values_1_ucs2

Bases:test_unicode.assign_values, TestCase

Check the assignment of valued arrays (size 1, UCS2 values)

ulen = 1
ucs_value
class test_assign_values_1_ucs4

Bases:test_unicode.assign_values, TestCase

Check the assignment of valued arrays (size 1, UCS4 values)

ulen = 1
ucs_value
class test_assign_values_2_ucs2

Bases:test_unicode.assign_values, TestCase

Check the assignment of valued arrays (size 2, UCS2 values)

ulen = 2
ucs_value
class test_assign_values_2_ucs4

Bases:test_unicode.assign_values, TestCase

Check the assignment of valued arrays (size 2, UCS4 values)

ulen = 2
ucs_value
class test_assign_values_1009_ucs2

Bases:test_unicode.assign_values, TestCase

Check the assignment of valued arrays (size 1009, UCS2 values)

ulen = 1009
ucs_value
class test_assign_values_1009_ucs4

Bases:test_unicode.assign_values, TestCase

Check the assignment of valued arrays (size 1009, UCS4 values)

ulen = 1009
ucs_value
class byteorder_values

Check the byteorder of unicode arrays in round-trip conversions

test_values0D(self)

Check byteorder of 0-dimensional objects

test_valuesSD(self)

Check byteorder of single-dimensional objects

test_valuesMD(self)

Check byteorder of multi-dimensional objects

class test_byteorder_1_ucs2

Bases:test_unicode.byteorder_values, TestCase

Check the byteorder in unicode (size 1, UCS2 values)

ulen = 1
ucs_value
class test_byteorder_1_ucs4

Bases:test_unicode.byteorder_values, TestCase

Check the byteorder in unicode (size 1, UCS4 values)

ulen = 1
ucs_value
class test_byteorder_2_ucs2

Bases:test_unicode.byteorder_values, TestCase

Check the byteorder in unicode (size 2, UCS2 values)

ulen = 2
ucs_value
class test_byteorder_2_ucs4

Bases:test_unicode.byteorder_values, TestCase

Check the byteorder in unicode (size 2, UCS4 values)

ulen = 2
ucs_value
class test_byteorder_1009_ucs2

Bases:test_unicode.byteorder_values, TestCase

Check the byteorder in unicode (size 1009, UCS2 values)

ulen = 1009
ucs_value
class test_byteorder_1009_ucs4

Bases:test_unicode.byteorder_values, TestCase

Check the byteorder in unicode (size 1009, UCS4 values)

ulen = 1009
ucs_value