@@ -3998,24 +3998,31 @@ test_single_tree_good_mutations(void)
3998
3998
CU_ASSERT_EQUAL (other_mutations [0 ].id , 0 );
3999
3999
CU_ASSERT_EQUAL (other_mutations [0 ].node , 2 );
4000
4000
CU_ASSERT_NSTRING_EQUAL (other_mutations [0 ].derived_state , "1" , 1 );
4001
+ CU_ASSERT_NSTRING_EQUAL (other_mutations [0 ].inherited_state , "0" , 1 );
4001
4002
CU_ASSERT_EQUAL (other_mutations [1 ].id , 1 );
4002
4003
CU_ASSERT_EQUAL (other_mutations [1 ].node , 4 );
4003
4004
CU_ASSERT_NSTRING_EQUAL (other_mutations [1 ].derived_state , "1" , 1 );
4005
+ CU_ASSERT_NSTRING_EQUAL (other_mutations [1 ].inherited_state , "0" , 1 );
4004
4006
CU_ASSERT_EQUAL (other_mutations [2 ].id , 2 );
4005
4007
CU_ASSERT_EQUAL (other_mutations [2 ].node , 0 );
4006
4008
CU_ASSERT_NSTRING_EQUAL (other_mutations [2 ].derived_state , "0" , 1 );
4009
+ CU_ASSERT_NSTRING_EQUAL (other_mutations [2 ].inherited_state , "1" , 1 );
4007
4010
CU_ASSERT_EQUAL (other_mutations [3 ].id , 3 );
4008
4011
CU_ASSERT_EQUAL (other_mutations [3 ].node , 0 );
4009
4012
CU_ASSERT_NSTRING_EQUAL (other_mutations [3 ].derived_state , "1" , 1 );
4013
+ CU_ASSERT_NSTRING_EQUAL (other_mutations [3 ].inherited_state , "0" , 1 );
4010
4014
CU_ASSERT_EQUAL (other_mutations [4 ].id , 4 );
4011
4015
CU_ASSERT_EQUAL (other_mutations [4 ].node , 1 );
4012
4016
CU_ASSERT_NSTRING_EQUAL (other_mutations [4 ].derived_state , "1" , 1 );
4017
+ CU_ASSERT_NSTRING_EQUAL (other_mutations [4 ].inherited_state , "0" , 1 );
4013
4018
CU_ASSERT_EQUAL (other_mutations [5 ].id , 5 );
4014
4019
CU_ASSERT_EQUAL (other_mutations [5 ].node , 2 );
4015
4020
CU_ASSERT_NSTRING_EQUAL (other_mutations [5 ].derived_state , "1" , 1 );
4021
+ CU_ASSERT_NSTRING_EQUAL (other_mutations [5 ].inherited_state , "0" , 1 );
4016
4022
CU_ASSERT_EQUAL (other_mutations [6 ].id , 6 );
4017
4023
CU_ASSERT_EQUAL (other_mutations [6 ].node , 3 );
4018
4024
CU_ASSERT_NSTRING_EQUAL (other_mutations [6 ].derived_state , "1" , 1 );
4025
+ CU_ASSERT_NSTRING_EQUAL (other_mutations [6 ].inherited_state , "0" , 1 );
4019
4026
4020
4027
tsk_treeseq_free (& ts );
4021
4028
}
0 commit comments