vispy.gloo.tests.test_buffer module

class vispy.gloo.tests.test_buffer.BufferTest(methodName='runTest')

Bases: unittest.case.TestCase

test_buffer_resize()
test_buffer_size()
test_data_storage()
test_init_default()

Test buffer init

test_negative_offset()
test_offlimit_offset()
test_oversized_data()
test_set_whole_data()
class vispy.gloo.tests.test_buffer.DataBufferTest(methodName='runTest')

Bases: unittest.case.TestCase

test_broadcast_ellipsis()
test_default_init()
test_every_two_item_no_storage()
test_getitem()
test_getitem_field()
test_getitem_index()
test_invalid_view_after_resize()
test_invalid_view_after_set_data()
test_no_resize_ellipsis()
test_no_storage_copy()
test_non_contiguous_storage()
test_resize()
test_set_data_base()
test_set_data_offset()
test_setitem()
test_setitem_broadcast()
test_setitem_field_no_storage()
test_setitem_half()
test_setitem_strided()
test_structured_init()
class vispy.gloo.tests.test_buffer.DataBufferViewTest(methodName='runTest')

Bases: unittest.case.TestCase

test_init_view()
class vispy.gloo.tests.test_buffer.IndexBufferTest(methodName='runTest')

Bases: unittest.case.TestCase

test_init_allowed_dtype()
class vispy.gloo.tests.test_buffer.VertexBufferTest(methodName='runTest')

Bases: unittest.case.TestCase

test_glsl_type()
test_init_allowed_dtype()
test_init_not_allowed_dtype()