Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kosloot committed Nov 30, 2024
1 parent 51fa6ae commit 5748938
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/sanity_tests.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,6 @@ void sanity_test020a(){
assertTrue( l->index(0)->index(2)->index(1)->cls() == "pp" );
assertTrue( l->index(0)->index(2)->index(1)->text() == "voor stamboom" );
assertEqual( l->index(0)->index(2)->text(), "een ander woord voor stamboom" );

}

void sanity_test020b(){
Expand Down Expand Up @@ -2100,15 +2099,15 @@ void sanity_test109( ){
assertTrue( ( isSubClass<Word, AbstractStructureElement>() ) );
assertTrue( ( isSubClass<Word, AbstractWord>() ) );
assertFalse( ( isSubClass<AbstractWord, Word>() ) );
assertFalse( ( isSubClass<AbstractWord, AbstractStructureElement>() ) );
assertFalse( ( isSubClass<AbstractWord, AbstractElement>() ) );
assertTrue( ( isSubClass<AbstractWord, FoliaElement>() ) );
assertTrue( ( isSubClass<PosAnnotation, AbstractTokenAnnotation>() ) );
#endif
#if FOLIA_INT_VERSION < 221
assertTrue( isSubClass( PosAnnotation_t, AbstractTokenAnnotation_t ) );
#else
assertTrue( is_subtype( PosAnnotation_t, AbstractTokenAnnotation_t ) );
assertTrue( ( isSubClass<AbstractWord, AbstractStructureElement>() ) );
assertTrue( ( isSubClass<AbstractWord, AbstractElement>() ) );
#endif
}

Expand Down

0 comments on commit 5748938

Please sign in to comment.