File tree Expand file tree Collapse file tree
exercises/simple-linked-list Expand file tree Collapse file tree Original file line number Diff line number Diff line change 590590 },
591591 "expected" : {}
592592 },
593+ {
594+ "uuid" : " 1210eeda-b23f-4790-930c-7ac6d0c8e723" ,
595+ "reimplements" : " 92851ebe-9f52-4406-b92e-0718c441a2ab" ,
596+ "description" : " Reversed non-empty list is reversed" ,
597+ "comments" : [
598+ " This test does not use toList as toList can be implemented different ways." ,
599+ " Perform a count after the reverse"
600+ ],
601+ "property" : " list" ,
602+ "input" : {
603+ "initialValues" : [1 , 2 , 3 ],
604+ "operations" : [
605+ {
606+ "operation" : " reverse"
607+ },
608+ {
609+ "operation" : " count" ,
610+ "expected" : 3
611+ },
612+ {
613+ "operation" : " pop" ,
614+ "expected" : 1
615+ },
616+ {
617+ "operation" : " pop" ,
618+ "expected" : 2
619+ },
620+ {
621+ "operation" : " pop" ,
622+ "expected" : 3
623+ }
624+ ]
625+ },
626+ "expected" : {}
627+ },
593628 {
594629 "uuid" : " 9b53af96-7494-4cfa-9b77-b7366fed5c4c" ,
595630 "description" : " Double reverse" ,
You can’t perform that action at this time.
0 commit comments