vispy.gloo.tests.test_buffer module

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

Bases: unittest.case.TestCase

test_buffer_resize()[source]
test_buffer_size()[source]
test_data_storage()[source]
test_init_default()[source]

Test buffer init

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

Bases: unittest.case.TestCase

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

Bases: unittest.case.TestCase

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

Bases: unittest.case.TestCase

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

Bases: unittest.case.TestCase

test_glsl_type()[source]
test_init_allowed_dtype()[source]
test_init_not_allowed_dtype()[source]