in C# i need to  Create an application named TurningDemo that creates instances of four classes: Page, Corner, Pancake, and Leaf. Create an interface named ITurnable that contains a single method named Turn(). The classes named Page, Corner, Pancake, and Leaf implement ITurnable. Create each class’s Turn() method to display an appropriate message. For example: The Page’s Turn() method should display You turn a page in a book. The Corner’s Turn() method should display You turn corners to go around the block. The Pancake's Turn() method should display You turn a pancake when it's done on one side. The Leaf's Turn() method should display A leaf turns colors in the fall. i keep getting the errors  Unit TestIncomplete Page class defined Build Status

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter10: Introduction To Inheritance
Section: Chapter Questions
Problem 8E: Create an application named TurningDemo that creates instances of four classes: Page, Corner,...
icon
Related questions
Question

in C# i need to 

Create an application named TurningDemo that creates instances of four classes: Page, Corner, Pancake, and Leaf.

Create an interface named ITurnable that contains a single method named Turn(). The classes named Page, Corner, Pancake, and Leaf implement ITurnable.

Create each class’s Turn() method to display an appropriate message. For example:

The Page’s Turn() method should display You turn a page in a book.
The Corner’s Turn() method should display You turn corners to go around the block.
The Pancake's Turn() method should display You turn a pancake when it's done on one side.
The Leaf's Turn() method should display A leaf turns colors in the fall.

i keep getting the errors 

Unit TestIncomplete
Page class defined

Build Status
Build Succeeded
Test Output
NUnit Console Runner 3.10.0 (.NET 2.0)
Copyright (c) 2019 Charlie Poole, Rob Prouse
Monday, 13 March 2023 02:41:29

Runtime Environment
   OS Version: Linux 5.0.0.27 
  CLR Version: 4.0.30319.42000

Test Files
    NtTest1f0f17f7.dll


Errors, Failures and Warnings

1) Failed : PageClassTest.PageTest2
  Expected string length 25 but was 26. Strings differ at index 25.
  Expected: "You turn a page in a book"
  But was:  "You turn a page in a book."
  ------------------------------------^
  at PageClassTest.PageTest2 () [0x00000] in <db26c04a090949e5841380e5b4fdbe85>:0 

Run Settings
    DisposeRunners: True
    WorkDirectory: /root/sandboxa2e8a040
    ImageRuntimeVersion: 4.0.30319
    ImageRequiresX86: False
    ImageRequiresDefaultAppDomainAssemblyResolver: False
    NumberOfTestWorkers: 2

Test Run Summary
  Overall result: Failed
  Test Count: 2, Passed: 1, Failed: 1, Warnings: 0, Inconclusive: 0, Skipped: 0
    Failed Tests - Failures: 1, Errors: 0, Invalid: 0
  Start time: 2023-03-13 02:41:29Z
    End time: 2023-03-13 02:41:30Z
    Duration: 1.054 seconds

Unit TestIncomplete
Leaf class defined

Build Status
Build Succeeded
Test Output
NUnit Console Runner 3.10.0 (.NET 2.0)
Copyright (c) 2019 Charlie Poole, Rob Prouse
Monday, 13 March 2023 02:41:32

Runtime Environment
   OS Version: Linux 5.0.0.27 
  CLR Version: 4.0.30319.42000

Test Files
    NtTestc8612eb9.dll


Errors, Failures and Warnings

1) Failed : LeafClassTest.LeafTest2
  Expected string length 31 but was 32. Strings differ at index 31.
  Expected: "A leaf turns colors in the fall"
  But was:  "A leaf turns colors in the fall."
  ------------------------------------------^
  at LeafClassTest.LeafTest2 () [0x00000] in <07cb9eeb66624440b8f5519bd0e8a6ec>:0 

Run Settings
    DisposeRunners: True
    WorkDirectory: /root/sandbox2a283e04
    ImageRuntimeVersion: 4.0.30319
    ImageRequiresX86: False
    ImageRequiresDefaultAppDomainAssemblyResolver: False
    NumberOfTestWorkers: 2

Test Run Summary
  Overall result: Failed
  Test Count: 2, Passed: 1, Failed: 1, Warnings: 0, Inconclusive: 0, Skipped: 0
    Failed Tests - Failures: 1, Errors: 0, Invalid: 0
  Start time: 2023-03-13 02:41:32Z
    End time: 2023-03-13 02:41:33Z
    Duration: 1.026 seconds

Unit TestIncomplete
Pancake class defined

Build Status
Build Succeeded
Test Output
NUnit Console Runner 3.10.0 (.NET 2.0)
Copyright (c) 2019 Charlie Poole, Rob Prouse
Monday, 13 March 2023 02:41:35

Runtime Environment
   OS Version: Linux 5.0.0.27 
  CLR Version: 4.0.30319.42000

Test Files
    NtTesta8a6b43c.dll


Errors, Failures and Warnings

1) Failed : PancakeClassTest.PancakeTest2
  Expected string length 45 but was 46. Strings differ at index 45.
  Expected: "You turn a pancake when it's done on one side"
  But was:  "You turn a pancake when it's done on one side."
  --------------------------------------------------------^
  at PancakeClassTest.PancakeTest2 () [0x00000] in <35358930f8fa45b1a5e5a89bc2bc7745>:0 

Run Settings
    DisposeRunners: True
    WorkDirectory: /root/sandbox289e7320
    ImageRuntimeVersion: 4.0.30319
    ImageRequiresX86: False
    ImageRequiresDefaultAppDomainAssemblyResolver: False
    NumberOfTestWorkers: 2

Test Run Summary
  Overall result: Failed
  Test Count: 2, Passed: 1, Failed: 1, Warnings: 0, Inconclusive: 0, Skipped: 0
    Failed Tests - Failures: 1, Errors: 0, Invalid: 0
  Start time: 2023-03-13 02:41:35Z
    End time: 2023-03-13 02:41:36Z
    Duration: 1.073 seconds

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Unreferenced Objects
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT