@@ -3998,24 +3998,31 @@ test_single_tree_good_mutations(void)
39983998 CU_ASSERT_EQUAL (other_mutations [0 ].id , 0 );
39993999 CU_ASSERT_EQUAL (other_mutations [0 ].node , 2 );
40004000 CU_ASSERT_NSTRING_EQUAL (other_mutations [0 ].derived_state , "1" , 1 );
4001+ CU_ASSERT_NSTRING_EQUAL (other_mutations [0 ].inherited_state , "0" , 1 );
40014002 CU_ASSERT_EQUAL (other_mutations [1 ].id , 1 );
40024003 CU_ASSERT_EQUAL (other_mutations [1 ].node , 4 );
40034004 CU_ASSERT_NSTRING_EQUAL (other_mutations [1 ].derived_state , "1" , 1 );
4005+ CU_ASSERT_NSTRING_EQUAL (other_mutations [1 ].inherited_state , "0" , 1 );
40044006 CU_ASSERT_EQUAL (other_mutations [2 ].id , 2 );
40054007 CU_ASSERT_EQUAL (other_mutations [2 ].node , 0 );
40064008 CU_ASSERT_NSTRING_EQUAL (other_mutations [2 ].derived_state , "0" , 1 );
4009+ CU_ASSERT_NSTRING_EQUAL (other_mutations [2 ].inherited_state , "1" , 1 );
40074010 CU_ASSERT_EQUAL (other_mutations [3 ].id , 3 );
40084011 CU_ASSERT_EQUAL (other_mutations [3 ].node , 0 );
40094012 CU_ASSERT_NSTRING_EQUAL (other_mutations [3 ].derived_state , "1" , 1 );
4013+ CU_ASSERT_NSTRING_EQUAL (other_mutations [3 ].inherited_state , "0" , 1 );
40104014 CU_ASSERT_EQUAL (other_mutations [4 ].id , 4 );
40114015 CU_ASSERT_EQUAL (other_mutations [4 ].node , 1 );
40124016 CU_ASSERT_NSTRING_EQUAL (other_mutations [4 ].derived_state , "1" , 1 );
4017+ CU_ASSERT_NSTRING_EQUAL (other_mutations [4 ].inherited_state , "0" , 1 );
40134018 CU_ASSERT_EQUAL (other_mutations [5 ].id , 5 );
40144019 CU_ASSERT_EQUAL (other_mutations [5 ].node , 2 );
40154020 CU_ASSERT_NSTRING_EQUAL (other_mutations [5 ].derived_state , "1" , 1 );
4021+ CU_ASSERT_NSTRING_EQUAL (other_mutations [5 ].inherited_state , "0" , 1 );
40164022 CU_ASSERT_EQUAL (other_mutations [6 ].id , 6 );
40174023 CU_ASSERT_EQUAL (other_mutations [6 ].node , 3 );
40184024 CU_ASSERT_NSTRING_EQUAL (other_mutations [6 ].derived_state , "1" , 1 );
4025+ CU_ASSERT_NSTRING_EQUAL (other_mutations [6 ].inherited_state , "0" , 1 );
40194026
40204027 tsk_treeseq_free (& ts );
40214028}
0 commit comments