예제 #1
0
 def test_one_real_one_comment(self):
     assert({'a'} == bde_items(P('one')/'real'/'one'/'comment'))
예제 #2
0
 def test_one_commented_item(self):
     assert(set() == bde_items(P('one')/'commented'/'item'))
예제 #3
0
 def test_two_commented_items_same_line(self):
     assert(set() == bde_items(P('two')/'commented'/'same'/'line'))
예제 #4
0
 def test_two_items_on_same_line(self):
     assert({'a', 'b'} == bde_items(P('two')/'same'/'line'))
예제 #5
0
 def test_item_on_each_line(self):
     assert({'a', 'b'} == bde_items(P('two')/'diff'/'lines'))
예제 #6
0
 def test_one_char_item(self):
     assert({'a'} == bde_items(P('one')/'char'))
예제 #7
0
 def test_longer_char_item(self):
     assert({'ab'} == bde_items(P('longer')/'char'))
예제 #8
0
 def test_two_commented_items_same_line(self):
     assert(set() == bde_items(P('two')/'commented'/'same'/'line'))
예제 #9
0
 def test_one_real_one_comment(self):
     assert({'a'} == bde_items(P('one')/'real'/'one'/'comment'))
예제 #10
0
 def test_one_commented_item(self):
     assert(set() == bde_items(P('one')/'commented'/'item'))
예제 #11
0
 def test_item_on_each_line(self):
     assert({'a', 'b'} == bde_items(P('two')/'diff'/'lines'))
예제 #12
0
 def test_two_items_on_same_line(self):
     assert({'a', 'b'} == bde_items(P('two')/'same'/'line'))
예제 #13
0
 def test_longer_char_item(self):
     assert({'ab'} == bde_items(P('longer')/'char'))
예제 #14
0
 def test_one_char_item(self):
     assert({'a'} == bde_items(P('one')/'char'))