Test Tetrahedron?

Fig. 1. Animation of a tetrahedron. Source: http://platonicsolids.info/Animated_GIFs/Tetrahedron.GIF
Fig. 2. The net of a tetrahedron. Adapted from: https://www.mathsisfun.com/geometry/images/tetrahedron-net.gif
Fig. 3. Test Tetrahedron (handwritten graph) with the three tiers and the four properties.
Fig. 4. Composite of tetrahedra (source: http://platonicsolids.info/Animated_GIFs/Tetrahedron-Tetrahedron.GIF)
// app.component.spec.ts
it('should render title in a h1 tag', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.debugElement.nativeElement;
expect(compiled.querySelector('h1').textContent).toContain('Welcome to test-e2e-app!');
});
// app.po.ts
getTitleText() {return element(by.css('app-root h1')).getText() as Promise<string>;}
// app.e2e-spec.ts
it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('Welcome to test-e2e-app!');
});

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to use Pimcore’s multi-language and localization features

How to change the owner of a Telegram bot (2020 update)

How to speed up development by using MVP templates for Android studio

“If it turns out that this is incurable, would you marry me?”

Glasswall in the Hunna USB Scrubbing Device

Apache Spark — local setup for efficient development and debugging

Deploying Microservices with Spring Cloud Netflix on Nirmata (Part 1)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alessandro Gerlinger Romero

Alessandro Gerlinger Romero

More from Medium

Wiremock With Rest-Assured | Mocking API response via JSON File

How to run parallel tests with Gradle

Detecting flaky tests might be the hardest part

Statement and Decision Coverage in White Box Testing — SS Blog

Statement and Decision Coverage in White Box Testing — SS Blog