test_that("`print.InteractionClassification()` works as expected", { # Load test data data(cd_3) data(vl_3) # Create interactions object interaction_obj <- create_interactions(cd_3[,-1], vl_3[,-1]) # Create an InteractionClassification object class_obj <- InteractionClassification(interaction_obj$vlogs_diff, interaction_obj$cds_diff) # Capture the output of the print method expect_snapshot({ print(class_obj) }) })