Source code on Github
{-# OPTIONS --cubical-compatible #-}
module Test.Functor where

open import Class.Prelude
open import Class.Functor
open import Class.Bifunctor

_ = fmap suc (just 0)  just 1
   refl
_ = fmap suc (List   0  1  2  [])  (1  2  3  [])
   refl
_ = fmap suc (List⁺   0  1  2  [])  (1  2  3  [])
   refl
_ = fmap suc (Vec  3  0  1  2  [])  (1  2  3  [])
   refl
_ = fmap suc ( (Vec )  -, 0  1  2  [])  (-, 1  2  3  [])
   refl

_ = map₁ suc (0 , (List   []))  (1 , [])
   refl
_ = map₂ (2 ∷_) (0 , [])  (0 , [ 2 ])
   refl
_ = bimap suc (2 ∷_) (0 , [])  (1 , [ 2 ])
   refl
_ = map₁₂ suc (0 , 1)  (1 , 2)
   refl
_ = map₁′ suc (0 , (List   []))  (1 , [])
   refl
_ = map₂′ id (1 , 2  [])  (( λ n  Vec  n)  (1 , 2  []))
   refl
_ = bimap′ suc (2 ∷_) (0 , [])  (( λ n  Vec  n)  (1 , 2  []))
   refl